Function
indexRequire
On-demand creation of a specific Fibre.
Include Headers
seqan/index.h
Parameters
The Index object holding the fibre. Types: Index | |
A tag that identifies the Fibre. |
Remarks
If the fibre already exists (indexSupplied is true) then indexRequire does nothing.
If the fibre doesn't exist then indexCreate is called to create it.
Return Values
A bool which is true on a successful creation.
Member of
Examples
The following code shows how the BWT of an text can be computed.
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 |
P PI
S SIPPI
S SISSIPPI
M MISSISSIPPI
I I
P PPI
I IPPI
S SSIPPI
S SSISSIPPI
I ISSIPPI
I ISSISSIPPI
SeqAn - Sequence Analysis Library - www.seqan.de