Sux
|
#include <SelectZero.hpp>
Public Member Functions | |
virtual | ~SelectZero ()=default |
virtual std::size_t | selectZero (uint64_t rank)=0 |
An interface specifying selection primitives on zeros.
Note that this interface is separate from Select because it is not in general possible to select zeros using a structure for selecting ones.
|
virtualdefault |
|
pure virtual |
Returns the position of the zero with given rank.
rank | the desired rank (index) of a zero in the bit vector. |
Implemented in sux::bits::StrideDynRankSel< SPS, WORDS, AT >, and sux::bits::WordDynRankSel< SPS, AT >.