SDSL 3.0.3
Succinct Data Structure Library
Loading...
Searching...
No Matches
sdsl::_fuzzy_isa_sampling_support< t_csa, t_select_sa > Class Template Reference

#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.
 _fuzzy_isa_sampling_support (SDSL_UNUSED cache_config const &cconfig, sa_type const *sa_sample)
 Constructor.
 _fuzzy_isa_sampling_support (_fuzzy_isa_sampling_support const &st)
 Copy constructor.
value_type operator[] (size_type i) const
 Return the inverse suffix array value for the sampled index i.
std::tuple< value_type, size_typesample_leq (size_type i) const
 Returns the rightmost ISA sample <= i and its position.
std::tuple< value_type, size_typesample_qeq (size_type i) const
 Returns the leftmost ISA sample >= i and its position.
_fuzzy_isa_sampling_supportoperator= (_fuzzy_isa_sampling_support const &st)
 Assignment operation.
void swap (_fuzzy_isa_sampling_support &st)
 Swap operation.
size_type serialize (std::ostream &out, structure_tree_node *v=nullptr, std::string name="") const
void load (std::istream &in, sa_type const *sa_sample=nullptr)
 Load sampling from disk.
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, sa_type const *sa_sample=nullptr)
bool operator== (_fuzzy_isa_sampling_support const &other) const noexcept
 Equality operator.
bool operator!= (_fuzzy_isa_sampling_support const &other) const noexcept
 Inequality operator.
void set_vector (sa_type const *sa_sample=nullptr)

Detailed Description

template<class t_csa, class t_select_sa>
class sdsl::_fuzzy_isa_sampling_support< t_csa, t_select_sa >

Definition at line 998 of file csa_sampling_strategy.hpp.

Member Typedef Documentation

◆ sa_type

template<class t_csa, class t_select_sa>
typedef t_csa::sa_sample_type sdsl::_fuzzy_isa_sampling_support< t_csa, t_select_sa >::sa_type

Definition at line 1006 of file csa_sampling_strategy.hpp.

◆ sampling_category

template<class t_csa, class t_select_sa>
typedef isa_sampling_tag sdsl::_fuzzy_isa_sampling_support< t_csa, t_select_sa >::sampling_category

Definition at line 1011 of file csa_sampling_strategy.hpp.

◆ size_type

template<class t_csa, class t_select_sa>
typedef bit_vector::size_type sdsl::_fuzzy_isa_sampling_support< t_csa, t_select_sa >::size_type

Definition at line 1004 of file csa_sampling_strategy.hpp.

◆ value_type

template<class t_csa, class t_select_sa>
typedef bit_vector::value_type sdsl::_fuzzy_isa_sampling_support< t_csa, t_select_sa >::value_type

Definition at line 1005 of file csa_sampling_strategy.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<class t_csa, class t_select_sa>
anonymous enum
Enumerator
sample_dens 

Definition at line 1007 of file csa_sampling_strategy.hpp.

Constructor & Destructor Documentation

◆ _fuzzy_isa_sampling_support() [1/3]

template<class t_csa, class t_select_sa>
sdsl::_fuzzy_isa_sampling_support< t_csa, t_select_sa >::_fuzzy_isa_sampling_support ( )
inline

Default constructor.

Definition at line 1019 of file csa_sampling_strategy.hpp.

◆ _fuzzy_isa_sampling_support() [2/3]

template<class t_csa, class t_select_sa>
sdsl::_fuzzy_isa_sampling_support< t_csa, t_select_sa >::_fuzzy_isa_sampling_support ( SDSL_UNUSED cache_config const & cconfig,
sa_type const * sa_sample )
inline

Constructor.

Definition at line 1029 of file csa_sampling_strategy.hpp.

◆ _fuzzy_isa_sampling_support() [3/3]

template<class t_csa, class t_select_sa>
sdsl::_fuzzy_isa_sampling_support< t_csa, t_select_sa >::_fuzzy_isa_sampling_support ( _fuzzy_isa_sampling_support< t_csa, t_select_sa > const & st)
inline

Copy constructor.

Definition at line 1035 of file csa_sampling_strategy.hpp.

Member Function Documentation

◆ CEREAL_LOAD_FUNCTION_NAME()

template<class t_csa, class t_select_sa>
template<typename archive_t>
void sdsl::_fuzzy_isa_sampling_support< t_csa, t_select_sa >::CEREAL_LOAD_FUNCTION_NAME ( archive_t & ar,
sa_type const * sa_sample = nullptr )
inline

Definition at line 1126 of file csa_sampling_strategy.hpp.

◆ CEREAL_SAVE_FUNCTION_NAME()

template<class t_csa, class t_select_sa>
template<typename archive_t>
void sdsl::_fuzzy_isa_sampling_support< t_csa, t_select_sa >::CEREAL_SAVE_FUNCTION_NAME ( archive_t & ar) const
inline

Definition at line 1120 of file csa_sampling_strategy.hpp.

◆ load()

template<class t_csa, class t_select_sa>
void sdsl::_fuzzy_isa_sampling_support< t_csa, t_select_sa >::load ( std::istream & in,
sa_type const * sa_sample = nullptr )
inline

Load sampling from disk.

Definition at line 1113 of file csa_sampling_strategy.hpp.

◆ operator!=()

template<class t_csa, class t_select_sa>
bool sdsl::_fuzzy_isa_sampling_support< t_csa, t_select_sa >::operator!= ( _fuzzy_isa_sampling_support< t_csa, t_select_sa > const & other) const
inlinenoexcept

Inequality operator.

Definition at line 1139 of file csa_sampling_strategy.hpp.

◆ operator=()

template<class t_csa, class t_select_sa>
_fuzzy_isa_sampling_support & sdsl::_fuzzy_isa_sampling_support< t_csa, t_select_sa >::operator= ( _fuzzy_isa_sampling_support< t_csa, t_select_sa > const & st)
inline

Assignment operation.

Definition at line 1087 of file csa_sampling_strategy.hpp.

◆ operator==()

template<class t_csa, class t_select_sa>
bool sdsl::_fuzzy_isa_sampling_support< t_csa, t_select_sa >::operator== ( _fuzzy_isa_sampling_support< t_csa, t_select_sa > const & other) const
inlinenoexcept

Equality operator.

Definition at line 1133 of file csa_sampling_strategy.hpp.

◆ operator[]()

template<class t_csa, class t_select_sa>
value_type sdsl::_fuzzy_isa_sampling_support< t_csa, t_select_sa >::operator[] ( size_type i) const
inline

Return the inverse suffix array value for the sampled index i.

Definition at line 1041 of file csa_sampling_strategy.hpp.

◆ sample_leq()

template<class t_csa, class t_select_sa>
std::tuple< value_type, size_type > sdsl::_fuzzy_isa_sampling_support< t_csa, t_select_sa >::sample_leq ( size_type i) const
inline

Returns the rightmost ISA sample <= i and its position.

Definition at line 1047 of file csa_sampling_strategy.hpp.

◆ sample_qeq()

template<class t_csa, class t_select_sa>
std::tuple< value_type, size_type > sdsl::_fuzzy_isa_sampling_support< t_csa, t_select_sa >::sample_qeq ( size_type i) const
inline

Returns the leftmost ISA sample >= i and its position.

Definition at line 1067 of file csa_sampling_strategy.hpp.

◆ serialize()

template<class t_csa, class t_select_sa>
size_type sdsl::_fuzzy_isa_sampling_support< t_csa, t_select_sa >::serialize ( std::ostream & out,
structure_tree_node * v = nullptr,
std::string name = "" ) const
inline

Definition at line 1103 of file csa_sampling_strategy.hpp.

◆ set_vector()

template<class t_csa, class t_select_sa>
void sdsl::_fuzzy_isa_sampling_support< t_csa, t_select_sa >::set_vector ( sa_type const * sa_sample = nullptr)
inline

Definition at line 1144 of file csa_sampling_strategy.hpp.

◆ swap()

template<class t_csa, class t_select_sa>
void sdsl::_fuzzy_isa_sampling_support< t_csa, t_select_sa >::swap ( _fuzzy_isa_sampling_support< t_csa, t_select_sa > & st)
inline

Swap operation.

Definition at line 1098 of file csa_sampling_strategy.hpp.


The documentation for this class was generated from the following file: