SDSL 3.0.3
Succinct Data Structure Library
|
#include <rrr_vector.hpp>
Public Types | |
enum | { bit_pat = t_b } |
enum | { bit_pat_len = (uint8_t)1 } |
typedef rrr_vector< t_bs, t_rac, t_k > | bit_vector_type |
typedef bit_vector_type::size_type | size_type |
typedef bit_vector_type::rrr_helper_type | rrr_helper_type |
typedef rrr_helper_type::number_type | number_type |
Public Member Functions | |
Standard constructor | rank_support_rrr (bit_vector_type const *v=nullptr) |
Answers rank queries const size_type | rank (size_type i) const |
Short hand for | rank (i) const size_type operator()(size_type i) const |
Returns the size of the original vector const size_type | size () const |
Set the supported vector void | set_vector (bit_vector_type const *v=nullptr) |
rank_support_rrr & | operator= (rank_support_rrr const &rs) |
Load the data structure from a stream and set the supported vector void | load (std::istream &, bit_vector_type const *v=nullptr) |
Serializes the data structure into a stream size_type | serialize (std::ostream &, structure_tree_node *v=nullptr, std::string name="") const |
template<typename archive_t > | |
void | CEREAL_SAVE_FUNCTION_NAME (archive_t &) const |
template<typename archive_t > | |
void | CEREAL_LOAD_FUNCTION_NAME (archive_t &) |
bool | operator== (rank_support_rrr const &other) const noexcept |
bool | operator!= (rank_support_rrr const &other) const noexcept |
Definition at line 455 of file rrr_vector.hpp.
rrr_vector<t_bs, t_rac, t_k> sdsl::rank_support_rrr< t_b, t_bs, t_rac, t_k >::bit_vector_type |
Definition at line 472 of file rrr_vector.hpp.
rrr_helper_type::number_type sdsl::rank_support_rrr< t_b, t_bs, t_rac, t_k >::number_type |
Definition at line 475 of file rrr_vector.hpp.
bit_vector_type::rrr_helper_type sdsl::rank_support_rrr< t_b, t_bs, t_rac, t_k >::rrr_helper_type |
Definition at line 474 of file rrr_vector.hpp.
bit_vector_type::size_type sdsl::rank_support_rrr< t_b, t_bs, t_rac, t_k >::size_type |
Definition at line 473 of file rrr_vector.hpp.
anonymous enum |
Enumerator | |
---|---|
bit_pat |
Definition at line 476 of file rrr_vector.hpp.
anonymous enum |
Enumerator | |
---|---|
bit_pat_len |
Definition at line 480 of file rrr_vector.hpp.
|
inlineexplicit |
v | Pointer to the rrr_vector, which should be supported |
Definition at line 492 of file rrr_vector.hpp.
|
inline |
Definition at line 592 of file rrr_vector.hpp.
|
inline |
Definition at line 588 of file rrr_vector.hpp.
|
inline |
Definition at line 574 of file rrr_vector.hpp.
|
inlinenoexcept |
Definition at line 600 of file rrr_vector.hpp.
|
inline |
Definition at line 564 of file rrr_vector.hpp.
|
inlinenoexcept |
Definition at line 595 of file rrr_vector.hpp.
|
inline |
Definition at line 546 of file rrr_vector.hpp.
|
inline |
i | Argument for the length of the prefix v[0..i-1], with ![]() |
Definition at line 503 of file rrr_vector.hpp.
|
inline |
Definition at line 580 of file rrr_vector.hpp.
|
inline |
Definition at line 559 of file rrr_vector.hpp.
|
inline |
Definition at line 553 of file rrr_vector.hpp.