Function
countOccurrences
Returns the number of occurences of representative substring or a q-gram in the index text.
Include Headers
seqan/index.h
Parameters
|  An iterator of a suffix tree. Types:  VSTree Iterator | |
|  A q-gram index. Types:  IndexQGram | |
|  A shape object. Types:  Shape | 
Return Values
 The number of positions where the representative of iterator  occurs in the text (see EsaText).
If iterator 's container type is TIndex  the return type is Size<TIndex>::Type .
 The number of positions where the q-gram stored in shape  occurs in the text (see QGramText).
If the type of index  is TIndex  the return type is Size<TIndex>::Type .
Example Programs
See Also
SeqAn - Sequence Analysis Library - www.seqan.de