Sux
|
#include <Select.hpp>
Public Member Functions | |
virtual | ~Select ()=default |
virtual std::size_t | select (uint64_t rank)=0 |
An interface specifying selection primitives on ones.
|
virtualdefault |
|
pure virtual |
Returns the position of the one with given rank.
rank | the desired rank (index) of a one in the bit vector. |
Implemented in sux::bits::StrideDynRankSel< SPS, WORDS, AT >, sux::bits::WordDynRankSel< SPS, AT >, sux::bits::EliasFano< AT >, sux::bits::SimpleSelect< AT >, and sux::bits::Rank9Sel< AT >.