Function
goToPosition
bool goToPosition(iterator, pos)
Include Headers
seqan/index.h
Parameters
iterator
An iterator of a wavelet tree structure.
pos
A position.
Remarks
goToPosition(iterator) goes to position pos 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
 
goToPosition(it, 2); // go to right child of root node
SeqAn - Sequence Analysis Library - www.seqan.de
 

Page built @2012/10/02 11:10:32