Function
repLength
Returns the length of the substring representing the path from root to iterator node.
Include Headers
seqan/index.h
Parameters
An iterator of a suffix tree. Types: VSTree Iterator |
Return Values
The length of the sequence returned by representative
Member of
Examples
The following code shows a simple example how the function repLength is used.
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | |
21 | |
22 | |
23 | |
24 | |
25 |
The string ISSI occurs 2 times in MISSISSIPPI and has 4 characters.
Example Programs
SeqAn - Sequence Analysis Library - www.seqan.de