Class Specialization
VSTree Iterator
Abstract iterator for Suffix Trees.
Iter<TContainer, VSTree<TSpec> >
Parameters
TContainer
Type of the container that can be iterated.
Metafunctions: Container
Types: Index_ESA
TSpec
The specialization type.
Specializations
BottomUp IteratorIterator for an efficient postorder depth-first search in a suffix tree.
TopDown IteratorIterator for Suffix Trees that can go down and right beginning from the root.
Functions
alignmentReturns an alignment of the occurences of the representative substring in the index text.
childrenAreLeavesTest whether iterator points to a node with only leaf-children.
containerContainer of an iterator.
countChildrenCount the number of children of a tree node.
countOccurrencesReturns the number of occurences of representative in the index text.
getFrequencyReturns the number of sequences, which contain the representative as a substring.
getOccurrenceReturns an occurence of the representative substring in the index text.
getOccurrencesReturns all occurences of the representative substring in the index text.
getOccurrencesBWTReturns the characters left beside all occurence of the representative substring in the index text.
goBeginIterates to the first position of a container.
isLeafTest whether iterator points to a leaf.
isLeftMaximalTest whether the occurences of an iterator's representative mutually differ in the character left of the hits.
isPartiallyLeftExtensibleTest whether the characters left of the two occurences of representative are equal.
isRightTerminalTest whether iterator points to a suffix.
isRootTest whether iterator points to the root node.
isUniqueTest whether the representative occurs only once in every sequence.
nodeHullPredicateIf false this node and its subtree is concealed.
nodePredicateIf false this node will be skipped during the bottom-up traversal.
parentRepLengthReturns the length of the substring representing the path from root to iterator's parent node.
repLengthReturns the length of the substring representing the path from root to iterator node.
representativeReturns a substring representing the path from root to iterator node.
valueReference to the value.
Remarks
This iterator is a pointer to a node in the Suffix Tree (given by the Enhanced Suffix Array Index_ESA). Every node can uniquely be mapped to an interval of the Suffix Array containing all suffixes of the node's subtree. This interval is the value of the iterator.
SeqAn - Sequence Analysis Library - www.seqan.de