OpenMS
2.8.0
|
#include <OpenMS/ANALYSIS/ID/AhoCorasickAmbiguous.h>
Public Member Functions | |
void | setQuery (const std::string &haystack) |
size_t | textPos () const |
Where in the text are we currently? More... | |
std::string::const_iterator | textPosIt () const |
Where in the text are we currently? More... | |
const std::string & | getQuery () const |
The current query. More... | |
AA | nextValidAA () |
Public Attributes | |
friend | ACSpawn |
std::vector< Hit > | hits |
current hits found More... | |
Index | tree_pos |
position in trie (for the master) More... | |
std::queue< ACSpawn > | spawns |
initial spawn points which are currently active and need processing More... | |
Private Attributes | |
std::string | query_ |
current query ( = haystack = text) More... | |
std::string::const_iterator | it_q_ |
position in query More... | |
A state object for an ACTrie, i.e. dynamic information when traversing the trie (which is 'const' after construction) Useful when using multi-threading; each thread can walk the trie and keep track of its state using an instance of this class
const std::string& getQuery | ( | ) | const |
The current query.
AA nextValidAA | ( | ) |
void setQuery | ( | const std::string & | haystack | ) |
Set a haystack (query) where the needles (patterns) are to be searched This also resets the current trie-node to ROOT, and voids the hits
size_t textPos | ( | ) | const |
Where in the text are we currently?
std::string::const_iterator textPosIt | ( | ) | const |
Where in the text are we currently?
friend ACSpawn |
std::vector<Hit> hits |
current hits found
|
private |
position in query
|
private |
current query ( = haystack = text)
std::queue<ACSpawn> spawns |
initial spawn points which are currently active and need processing
Index tree_pos |
position in trie (for the master)