|
ADS
Algorithms and Data Structures
|
The wavelet matrix of Claude, Navarro and Ordóñez. More...
Files | |
| file | ADS/succinct/WaveletMatrix.h |
| The wavelet matrix of Claude, Navarro and Ordóñez: a static sequence \( S[ 0 .. n - 1 ] \) of integers of \( w \) bits, i.e., on the alphabet \( [ 0 , 2^w ) \), in \( n w \) bits plus the directories of rank and select [see RankSelect.h], with access, rank and select of any symbol in \( O( w ) \) time, and the queries on a range of places that a sequence of integers needs (the \( k \)-th smallest item of a range, the items below a value), also in \( O( w ) \) time. | |
Classes | |
| class | ADS::WaveletMatrix |
| a static sequence of integers of \( w \) bits with access, rank, select and the range quantiles in \( O( w ) \) time More... | |
The wavelet matrix of Claude, Navarro and Ordóñez.
The definitions, the invariants and the costs of the area are in Theory of succinct structures.