Function
goLeftChild
Sets the iterator to the left child of the current node if it exists and returns true, otherwise the iterator does not change position and the function returns false.
bool goLeftChild(iterator)
Include Headers
seqan/index.h
Parameters
iterator
An iterator of a wavelet tree structure.
Remarks
goLeftChild(iterator) goes down the left edge if it exist.
Return Values
true if the edge or path to go down exists, otherwise false.
Examples
String<Dna5> genome = "ACGTACGT";
RightArrayBinaryTree<Dna5> waveletTreeStructure(genome);
 
Iterator<RightArrayBinaryTree<Dna5>, TopDown<> >::Type it;
it = begin(waveletTreeStructure); // go to root node
 
goLeftChild(it); // go to left child of root node
SeqAn - Sequence Analysis Library - www.seqan.de
 

Page built @2013/07/11 09:12:36