#include <rank_vector.hpp>
Bit Vector supporing Rank operation
uint64_t get_bit |
( |
uint64_t |
pos | ) |
const |
|
inline |
Get the pos-th bit
- Parameters
-
- Returns
- the pos-th bit
void push_back |
( |
uint64_t |
bit | ) |
|
|
inline |
Add bit to the end of the vector
- Parameters
-
uint64_t rank |
( |
uint64_t |
pos | ) |
const |
|
inline |
Calculate the number of ones in bits_[0...pos-1] in O(1) time.
- Parameters
-
pos | the position in the bit array |
- Returns
- the number of ones in bits_[0...pos-1]
Return the size of bit array in bits.
- Returns
- the number of bits
Swap the content in bit vector
- Parameters
-
The documentation for this class was generated from the following file:
- /builds/workspace/publish-doc-api-gitlab/gatb-core/src/gatb/debruijn/impl/rank_vector.hpp