Function
createTrieOnReverse
Creates a trie for all reversed keywords.
Include Headers
seqan/graph_types.h
Parameters
In-parameter: A set of strings. Types: String |
Return Values
void
Out-parameter: An automaton. Types: Trie | |
Out-parameter: An external property map. Types: External Property Map Remarks: The external property map must be a String<String<unsigned int> > because
in every vertex of the trie a number of keywords can end. This is the case in the Aho-Corasick
algorithm if one pattern is a suffix of another pattern! Hence, we must associate with every vertex a set of indices that correspond to keywords. |
See Also
SeqAn - Sequence Analysis Library - www.seqan.de