ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
RIndex.h

The r-index of Gagie, Navarro and Prezza (beyond the book). More...

Files

file  ADS/compression/RIndex.h
 The r-index of Gagie, Navarro and Prezza (beyond the book): the FM-index of a text \( s \) of \( n \) bytes in space proportional to the number \( r \) of the runs of its transform \( L \) of Burrows and Wheeler, rather than to \( n \) [see FMIndex.h, HuffmanFMIndex.h], so that a repetitive text (the versions of a document, the genomes of a species), where \( r \) is far smaller than \( n \), takes far less; count( P ) takes \( O( p ) \) steps of rank on the runs, and locate( P ) \( O( p + \mathit{occ} ) \) more of predecessor searches.

Classes

class  ADS::RIndex
 the r-index of a text: count and locate in space proportional to the runs of its transform More...

Detailed description

The r-index of Gagie, Navarro and Prezza (beyond the book).

The definitions, the invariants and the costs of the area are in Theory of compression.