Class RRRBitVector
Defined in File RRRBitVector.h
Nested Relationships
Nested Types
Class Documentation
-
class RRRBitVector
a static vector of bits compressed to its entropy, with rank and select
Public Functions
-
inline RRRBitVector(void)
-
inline std::size_t size(void) const
-
inline std::size_t ones(void) const
the number of 1s
-
inline std::size_t zeros(void) const
the number of 0s
-
inline std::size_t rank0(std::size_t i) const
the number of 0s in the places [ 0 , i )
- Pre:
i <= size()
-
std::size_t sizeInBits(void) const
the bits of the classes, of the offsets and of the superblocks
-
inline RRRBitVector(void)