Function
range
Returns the suffix array interval borders of occurrences of representative substring or a q-gram in the index text.
Include Headers
seqan/index.h
Parameters
A q-gram index. Types: IndexQGram | |
A shape object. Types: Shape | |
An iterator of a suffix tree. Types: VSTree Iterator |
Return Values
All positions where the q-gram stored in shape occurs in the text (see QGramText)
are stored in a contiguous range of the suffix array.
range returns begin and end position of this range.
If the type of index is TIndex the return type is Pair<Size<TIndex>::Type>.
All positions where a substring occurs in the text (see EsaText)
are stored in a contiguous range of the suffix array.
range returns begin and end position of this range for occurrences of representative.
If iterator 's container type is TIndex the return type is Pair<Size<TIndex>::Type>.
Member of
SeqAn - Sequence Analysis Library - www.seqan.de