Function
isLeaf
Test whether a tree iterator points to a leaf.
Include Headers
seqan/index.h
Parameters
An iterator of a tree. |
Return Values
Types: bool
Examples
Code example for the RightArrayBinaryTree Iterator:
RightArrayBinaryTree<Dna5> waveletTreeStructure(genome);
Iterator<RightArrayBinaryTree<Dna5>, TopDown<> >::Type it;
it = begin(waveletTreeStructure); // go to root node
goRightChild(it); // go to right child of root node
goUp(it); // go to root node
Example Programs
SeqAn - Sequence Analysis Library - www.seqan.de