SDSL 3.0.1
Succinct Data Structure Library
|
#include <csa_sampling_strategy.hpp>
Public Types | |
enum | { sample_dens = t_csa::isa_sample_dens } |
typedef bit_vector::size_type | size_type |
typedef bit_vector::value_type | value_type |
typedef t_csa::sa_sample_type | sa_type |
typedef isa_sampling_tag | sampling_category |
Public Member Functions | |
_fuzzy_isa_sampling_support () | |
Default constructor. More... | |
_fuzzy_isa_sampling_support (SDSL_UNUSED const cache_config &cconfig, const sa_type *sa_sample) | |
Constructor. More... | |
_fuzzy_isa_sampling_support (const _fuzzy_isa_sampling_support &st) | |
Copy constructor. More... | |
value_type | operator[] (size_type i) const |
Return the inverse suffix array value for the sampled index i. More... | |
std::tuple< value_type, size_type > | sample_leq (size_type i) const |
Returns the rightmost ISA sample <= i and its position. More... | |
std::tuple< value_type, size_type > | sample_qeq (size_type i) const |
Returns the leftmost ISA sample >= i and its position. More... | |
_fuzzy_isa_sampling_support & | operator= (const _fuzzy_isa_sampling_support &st) |
Assignment operation. More... | |
void | swap (_fuzzy_isa_sampling_support &st) |
Swap operation. More... | |
size_type | serialize (std::ostream &out, structure_tree_node *v=nullptr, std::string name="") const |
void | load (std::istream &in, const sa_type *sa_sample=nullptr) |
Load sampling from disk. More... | |
template<typename archive_t > | |
void | CEREAL_SAVE_FUNCTION_NAME (archive_t &ar) const |
template<typename archive_t > | |
void | CEREAL_LOAD_FUNCTION_NAME (archive_t &ar, const sa_type *sa_sample=nullptr) |
bool | operator== (_fuzzy_isa_sampling_support const &other) const noexcept |
Equality operator. More... | |
bool | operator!= (_fuzzy_isa_sampling_support const &other) const noexcept |
Inequality operator. More... | |
void | set_vector (const sa_type *sa_sample=nullptr) |
Definition at line 912 of file csa_sampling_strategy.hpp.
typedef t_csa::sa_sample_type sdsl::_fuzzy_isa_sampling_support< t_csa, t_select_sa >::sa_type |
Definition at line 920 of file csa_sampling_strategy.hpp.
typedef isa_sampling_tag sdsl::_fuzzy_isa_sampling_support< t_csa, t_select_sa >::sampling_category |
Definition at line 925 of file csa_sampling_strategy.hpp.
typedef bit_vector::size_type sdsl::_fuzzy_isa_sampling_support< t_csa, t_select_sa >::size_type |
Definition at line 918 of file csa_sampling_strategy.hpp.
typedef bit_vector::value_type sdsl::_fuzzy_isa_sampling_support< t_csa, t_select_sa >::value_type |
Definition at line 919 of file csa_sampling_strategy.hpp.
anonymous enum |
Enumerator | |
---|---|
sample_dens |
Definition at line 921 of file csa_sampling_strategy.hpp.
|
inline |
Default constructor.
Definition at line 933 of file csa_sampling_strategy.hpp.
|
inline |
Constructor.
Definition at line 942 of file csa_sampling_strategy.hpp.
|
inline |
Copy constructor.
Definition at line 949 of file csa_sampling_strategy.hpp.
|
inline |
Definition at line 1029 of file csa_sampling_strategy.hpp.
|
inline |
Definition at line 1023 of file csa_sampling_strategy.hpp.
|
inline |
Load sampling from disk.
Definition at line 1016 of file csa_sampling_strategy.hpp.
|
inlinenoexcept |
Inequality operator.
Definition at line 1042 of file csa_sampling_strategy.hpp.
|
inline |
Assignment operation.
Definition at line 993 of file csa_sampling_strategy.hpp.
|
inlinenoexcept |
Equality operator.
Definition at line 1036 of file csa_sampling_strategy.hpp.
|
inline |
Return the inverse suffix array value for the sampled index i.
Definition at line 956 of file csa_sampling_strategy.hpp.
|
inline |
Returns the rightmost ISA sample <= i and its position.
Definition at line 959 of file csa_sampling_strategy.hpp.
|
inline |
Returns the leftmost ISA sample >= i and its position.
Definition at line 976 of file csa_sampling_strategy.hpp.
|
inline |
Definition at line 1006 of file csa_sampling_strategy.hpp.
|
inline |
Definition at line 1044 of file csa_sampling_strategy.hpp.
|
inline |
Swap operation.
Definition at line 1004 of file csa_sampling_strategy.hpp.