Bit Vectors
We define 3 operations on bitvectors
- Access(B, i): returns the element at pos in
- Rank(B, i): returns the number of 1's in the range
- Select(B, x): returns the position in which the rank becomes x, or if .
The book covers both the zero-order and k-th order compression of