SDSL 3.0.1
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 const cache_config &cconfig, const sa_type *sa_sample)
 Constructor.
 
 _fuzzy_isa_sampling_support (const _fuzzy_isa_sampling_support &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= (const _fuzzy_isa_sampling_support &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, const sa_type *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, const sa_type *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 (const sa_type *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 912 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 920 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 925 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 918 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 919 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 921 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 933 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 const cache_config cconfig,
const sa_type sa_sample 
)
inline

Constructor.

Definition at line 942 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 ( const _fuzzy_isa_sampling_support< t_csa, t_select_sa > &  st)
inline

Copy constructor.

Definition at line 949 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,
const sa_type sa_sample = nullptr 
)
inline

Definition at line 1029 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 1023 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,
const sa_type sa_sample = nullptr 
)
inline

Load sampling from disk.

Definition at line 1016 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 1042 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= ( const _fuzzy_isa_sampling_support< t_csa, t_select_sa > &  st)
inline

Assignment operation.

Definition at line 993 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 1036 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 956 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 959 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 976 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 1006 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 ( const sa_type sa_sample = nullptr)
inline

Definition at line 1044 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 1004 of file csa_sampling_strategy.hpp.


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