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

Rank and select on a static vector of bits \( B \) of \( m \) bits in 3.125% of \( m \) bits more for the rank and less than 0.8% for the select of each value, the compact counterpart of RankSelect, which spends about 50% for the fastest queries. More...

Files

file  ADS/succinct/CompactRankSelect.h
 Rank and select on a static vector of bits \( B \) of \( m \) bits in 3.125% of \( m \) bits more for the rank and less than 0.8% for the select of each value, the compact counterpart of RankSelect [see RankSelect.h], which spends about 50% for the fastest queries: the flat directory of Kurpicz, after the poppy of Zhou, Andersen and Kaminsky.

Classes

class  ADS::CompactRankSelect
 a static vector of bits with rank and select in 3.125% of its bits more for the rank and less than 0.8% for each select More...

Detailed description

Rank and select on a static vector of bits \( B \) of \( m \) bits in 3.125% of \( m \) bits more for the rank and less than 0.8% for the select of each value, the compact counterpart of RankSelect, which spends about 50% for the fastest queries.

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