SDSL 3.0.1
Succinct Data Structure Library
Loading...
Searching...
No Matches
sdsl::_fuzzy_sa_sampling< t_csa, t_bv_sa, t_bv_isa, t_rank_sa, t_select_isa > Class Template Reference

#include <csa_sampling_strategy.hpp>

Public Types

enum  { sample_dens = t_csa::sa_sample_dens }
 
enum  { text_order = true }
 
typedef bit_vector::size_type size_type
 
typedef bit_vector::value_type value_type
 
typedef t_bv_sa bv_sa_type
 
typedef sa_sampling_tag sampling_category
 

Public Member Functions

 _fuzzy_sa_sampling ()
 Default constructor.
 
 _fuzzy_sa_sampling (cache_config &cconfig, SDSL_UNUSED const t_csa *csa=nullptr)
 Constructor.
 
 _fuzzy_sa_sampling (const _fuzzy_sa_sampling &st)
 Copy constructor.
 
 _fuzzy_sa_sampling (_fuzzy_sa_sampling &&st)
 Move constructor.
 
bool is_sampled (size_type i) const
 Determine if index i is sampled or not.
 
value_type operator[] (size_type i) const
 Return the suffix array value for the sampled index i.
 
value_type inv (size_type i) const
 Return the inv permutation at position i (already condensed!!!)
 
size_type size () const
 
_fuzzy_sa_samplingoperator= (const _fuzzy_sa_sampling &st)
 Assignment operation.
 
_fuzzy_sa_samplingoperator= (_fuzzy_sa_sampling &&st)
 Move assignment operation.
 
size_type serialize (std::ostream &out, structure_tree_node *v=nullptr, std::string name="") const
 
void load (std::istream &in)
 
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)
 
bool operator== (_fuzzy_sa_sampling const &other) const noexcept
 Equality operator.
 
bool operator!= (_fuzzy_sa_sampling const &other) const noexcept
 Inequality operator.
 

Public Attributes

const t_bv_sa & marked_sa = m_marked_sa
 
const t_rank_sa & rank_marked_sa = m_rank_marked_sa
 
const t_bv_isa & marked_isa = m_marked_isa
 
const t_select_isa & select_marked_isa = m_select_marked_isa
 

Detailed Description

template<class t_csa, class t_bv_sa = sd_vector<>, class t_bv_isa = sd_vector<>, class t_rank_sa = typename t_bv_sa::rank_1_type, class t_select_isa = typename t_bv_isa::select_1_type>
class sdsl::_fuzzy_sa_sampling< t_csa, t_bv_sa, t_bv_isa, t_rank_sa, t_select_isa >

Definition at line 255 of file csa_sampling_strategy.hpp.

Member Typedef Documentation

◆ bv_sa_type

template<class t_csa , class t_bv_sa = sd_vector<>, class t_bv_isa = sd_vector<>, class t_rank_sa = typename t_bv_sa::rank_1_type, class t_select_isa = typename t_bv_isa::select_1_type>
typedef t_bv_sa sdsl::_fuzzy_sa_sampling< t_csa, t_bv_sa, t_bv_isa, t_rank_sa, t_select_isa >::bv_sa_type

Definition at line 267 of file csa_sampling_strategy.hpp.

◆ sampling_category

template<class t_csa , class t_bv_sa = sd_vector<>, class t_bv_isa = sd_vector<>, class t_rank_sa = typename t_bv_sa::rank_1_type, class t_select_isa = typename t_bv_isa::select_1_type>
typedef sa_sampling_tag sdsl::_fuzzy_sa_sampling< t_csa, t_bv_sa, t_bv_isa, t_rank_sa, t_select_isa >::sampling_category

Definition at line 276 of file csa_sampling_strategy.hpp.

◆ size_type

template<class t_csa , class t_bv_sa = sd_vector<>, class t_bv_isa = sd_vector<>, class t_rank_sa = typename t_bv_sa::rank_1_type, class t_select_isa = typename t_bv_isa::select_1_type>
typedef bit_vector::size_type sdsl::_fuzzy_sa_sampling< t_csa, t_bv_sa, t_bv_isa, t_rank_sa, t_select_isa >::size_type

Definition at line 265 of file csa_sampling_strategy.hpp.

◆ value_type

template<class t_csa , class t_bv_sa = sd_vector<>, class t_bv_isa = sd_vector<>, class t_rank_sa = typename t_bv_sa::rank_1_type, class t_select_isa = typename t_bv_isa::select_1_type>
typedef bit_vector::value_type sdsl::_fuzzy_sa_sampling< t_csa, t_bv_sa, t_bv_isa, t_rank_sa, t_select_isa >::value_type

Definition at line 266 of file csa_sampling_strategy.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<class t_csa , class t_bv_sa = sd_vector<>, class t_bv_isa = sd_vector<>, class t_rank_sa = typename t_bv_sa::rank_1_type, class t_select_isa = typename t_bv_isa::select_1_type>
anonymous enum
Enumerator
sample_dens 

Definition at line 268 of file csa_sampling_strategy.hpp.

◆ anonymous enum

template<class t_csa , class t_bv_sa = sd_vector<>, class t_bv_isa = sd_vector<>, class t_rank_sa = typename t_bv_sa::rank_1_type, class t_select_isa = typename t_bv_isa::select_1_type>
anonymous enum
Enumerator
text_order 

Definition at line 272 of file csa_sampling_strategy.hpp.

Constructor & Destructor Documentation

◆ _fuzzy_sa_sampling() [1/4]

template<class t_csa , class t_bv_sa = sd_vector<>, class t_bv_isa = sd_vector<>, class t_rank_sa = typename t_bv_sa::rank_1_type, class t_select_isa = typename t_bv_isa::select_1_type>
sdsl::_fuzzy_sa_sampling< t_csa, t_bv_sa, t_bv_isa, t_rank_sa, t_select_isa >::_fuzzy_sa_sampling ( )
inline

Default constructor.

Definition at line 284 of file csa_sampling_strategy.hpp.

◆ _fuzzy_sa_sampling() [2/4]

template<class t_csa , class t_bv_sa = sd_vector<>, class t_bv_isa = sd_vector<>, class t_rank_sa = typename t_bv_sa::rank_1_type, class t_select_isa = typename t_bv_isa::select_1_type>
sdsl::_fuzzy_sa_sampling< t_csa, t_bv_sa, t_bv_isa, t_rank_sa, t_select_isa >::_fuzzy_sa_sampling ( cache_config cconfig,
SDSL_UNUSED const t_csa *  csa = nullptr 
)
inline

Constructor.

Definition at line 293 of file csa_sampling_strategy.hpp.

◆ _fuzzy_sa_sampling() [3/4]

template<class t_csa , class t_bv_sa = sd_vector<>, class t_bv_isa = sd_vector<>, class t_rank_sa = typename t_bv_sa::rank_1_type, class t_select_isa = typename t_bv_isa::select_1_type>
sdsl::_fuzzy_sa_sampling< t_csa, t_bv_sa, t_bv_isa, t_rank_sa, t_select_isa >::_fuzzy_sa_sampling ( const _fuzzy_sa_sampling< t_csa, t_bv_sa, t_bv_isa, t_rank_sa, t_select_isa > &  st)
inline

Copy constructor.

Definition at line 361 of file csa_sampling_strategy.hpp.

◆ _fuzzy_sa_sampling() [4/4]

template<class t_csa , class t_bv_sa = sd_vector<>, class t_bv_isa = sd_vector<>, class t_rank_sa = typename t_bv_sa::rank_1_type, class t_select_isa = typename t_bv_isa::select_1_type>
sdsl::_fuzzy_sa_sampling< t_csa, t_bv_sa, t_bv_isa, t_rank_sa, t_select_isa >::_fuzzy_sa_sampling ( _fuzzy_sa_sampling< t_csa, t_bv_sa, t_bv_isa, t_rank_sa, t_select_isa > &&  st)
inline

Move constructor.

Definition at line 373 of file csa_sampling_strategy.hpp.

Member Function Documentation

◆ CEREAL_LOAD_FUNCTION_NAME()

template<class t_csa , class t_bv_sa = sd_vector<>, class t_bv_isa = sd_vector<>, class t_rank_sa = typename t_bv_sa::rank_1_type, class t_select_isa = typename t_bv_isa::select_1_type>
template<typename archive_t >
void sdsl::_fuzzy_sa_sampling< t_csa, t_bv_sa, t_bv_isa, t_rank_sa, t_select_isa >::CEREAL_LOAD_FUNCTION_NAME ( archive_t &  ar)
inline

Definition at line 457 of file csa_sampling_strategy.hpp.

◆ CEREAL_SAVE_FUNCTION_NAME()

template<class t_csa , class t_bv_sa = sd_vector<>, class t_bv_isa = sd_vector<>, class t_rank_sa = typename t_bv_sa::rank_1_type, class t_select_isa = typename t_bv_isa::select_1_type>
template<typename archive_t >
void sdsl::_fuzzy_sa_sampling< t_csa, t_bv_sa, t_bv_isa, t_rank_sa, t_select_isa >::CEREAL_SAVE_FUNCTION_NAME ( archive_t &  ar) const
inline

Definition at line 447 of file csa_sampling_strategy.hpp.

◆ inv()

template<class t_csa , class t_bv_sa = sd_vector<>, class t_bv_isa = sd_vector<>, class t_rank_sa = typename t_bv_sa::rank_1_type, class t_select_isa = typename t_bv_isa::select_1_type>
value_type sdsl::_fuzzy_sa_sampling< t_csa, t_bv_sa, t_bv_isa, t_rank_sa, t_select_isa >::inv ( size_type  i) const
inline

Return the inv permutation at position i (already condensed!!!)

Definition at line 394 of file csa_sampling_strategy.hpp.

◆ is_sampled()

template<class t_csa , class t_bv_sa = sd_vector<>, class t_bv_isa = sd_vector<>, class t_rank_sa = typename t_bv_sa::rank_1_type, class t_select_isa = typename t_bv_isa::select_1_type>
bool sdsl::_fuzzy_sa_sampling< t_csa, t_bv_sa, t_bv_isa, t_rank_sa, t_select_isa >::is_sampled ( size_type  i) const
inline

Determine if index i is sampled or not.

Definition at line 385 of file csa_sampling_strategy.hpp.

◆ load()

template<class t_csa , class t_bv_sa = sd_vector<>, class t_bv_isa = sd_vector<>, class t_rank_sa = typename t_bv_sa::rank_1_type, class t_select_isa = typename t_bv_isa::select_1_type>
void sdsl::_fuzzy_sa_sampling< t_csa, t_bv_sa, t_bv_isa, t_rank_sa, t_select_isa >::load ( std::istream &  in)
inline

Definition at line 435 of file csa_sampling_strategy.hpp.

◆ operator!=()

template<class t_csa , class t_bv_sa = sd_vector<>, class t_bv_isa = sd_vector<>, class t_rank_sa = typename t_bv_sa::rank_1_type, class t_select_isa = typename t_bv_isa::select_1_type>
bool sdsl::_fuzzy_sa_sampling< t_csa, t_bv_sa, t_bv_isa, t_rank_sa, t_select_isa >::operator!= ( _fuzzy_sa_sampling< t_csa, t_bv_sa, t_bv_isa, t_rank_sa, t_select_isa > const &  other) const
inlinenoexcept

Inequality operator.

Definition at line 477 of file csa_sampling_strategy.hpp.

◆ operator=() [1/2]

template<class t_csa , class t_bv_sa = sd_vector<>, class t_bv_isa = sd_vector<>, class t_rank_sa = typename t_bv_sa::rank_1_type, class t_select_isa = typename t_bv_isa::select_1_type>
_fuzzy_sa_sampling & sdsl::_fuzzy_sa_sampling< t_csa, t_bv_sa, t_bv_isa, t_rank_sa, t_select_isa >::operator= ( _fuzzy_sa_sampling< t_csa, t_bv_sa, t_bv_isa, t_rank_sa, t_select_isa > &&  st)
inline

Move assignment operation.

Definition at line 410 of file csa_sampling_strategy.hpp.

◆ operator=() [2/2]

template<class t_csa , class t_bv_sa = sd_vector<>, class t_bv_isa = sd_vector<>, class t_rank_sa = typename t_bv_sa::rank_1_type, class t_select_isa = typename t_bv_isa::select_1_type>
_fuzzy_sa_sampling & sdsl::_fuzzy_sa_sampling< t_csa, t_bv_sa, t_bv_isa, t_rank_sa, t_select_isa >::operator= ( const _fuzzy_sa_sampling< t_csa, t_bv_sa, t_bv_isa, t_rank_sa, t_select_isa > &  st)
inline

Assignment operation.

Definition at line 399 of file csa_sampling_strategy.hpp.

◆ operator==()

template<class t_csa , class t_bv_sa = sd_vector<>, class t_bv_isa = sd_vector<>, class t_rank_sa = typename t_bv_sa::rank_1_type, class t_select_isa = typename t_bv_isa::select_1_type>
bool sdsl::_fuzzy_sa_sampling< t_csa, t_bv_sa, t_bv_isa, t_rank_sa, t_select_isa >::operator== ( _fuzzy_sa_sampling< t_csa, t_bv_sa, t_bv_isa, t_rank_sa, t_select_isa > const &  other) const
inlinenoexcept

Equality operator.

Definition at line 469 of file csa_sampling_strategy.hpp.

◆ operator[]()

template<class t_csa , class t_bv_sa = sd_vector<>, class t_bv_isa = sd_vector<>, class t_rank_sa = typename t_bv_sa::rank_1_type, class t_select_isa = typename t_bv_isa::select_1_type>
value_type sdsl::_fuzzy_sa_sampling< t_csa, t_bv_sa, t_bv_isa, t_rank_sa, t_select_isa >::operator[] ( size_type  i) const
inline

Return the suffix array value for the sampled index i.

Definition at line 388 of file csa_sampling_strategy.hpp.

◆ serialize()

template<class t_csa , class t_bv_sa = sd_vector<>, class t_bv_isa = sd_vector<>, class t_rank_sa = typename t_bv_sa::rank_1_type, class t_select_isa = typename t_bv_isa::select_1_type>
size_type sdsl::_fuzzy_sa_sampling< t_csa, t_bv_sa, t_bv_isa, t_rank_sa, t_select_isa >::serialize ( std::ostream &  out,
structure_tree_node v = nullptr,
std::string  name = "" 
) const
inline

Definition at line 422 of file csa_sampling_strategy.hpp.

◆ size()

template<class t_csa , class t_bv_sa = sd_vector<>, class t_bv_isa = sd_vector<>, class t_rank_sa = typename t_bv_sa::rank_1_type, class t_select_isa = typename t_bv_isa::select_1_type>
size_type sdsl::_fuzzy_sa_sampling< t_csa, t_bv_sa, t_bv_isa, t_rank_sa, t_select_isa >::size ( ) const
inline

Definition at line 396 of file csa_sampling_strategy.hpp.

Member Data Documentation

◆ marked_isa

template<class t_csa , class t_bv_sa = sd_vector<>, class t_bv_isa = sd_vector<>, class t_rank_sa = typename t_bv_sa::rank_1_type, class t_select_isa = typename t_bv_isa::select_1_type>
const t_bv_isa& sdsl::_fuzzy_sa_sampling< t_csa, t_bv_sa, t_bv_isa, t_rank_sa, t_select_isa >::marked_isa = m_marked_isa

Definition at line 280 of file csa_sampling_strategy.hpp.

◆ marked_sa

template<class t_csa , class t_bv_sa = sd_vector<>, class t_bv_isa = sd_vector<>, class t_rank_sa = typename t_bv_sa::rank_1_type, class t_select_isa = typename t_bv_isa::select_1_type>
const t_bv_sa& sdsl::_fuzzy_sa_sampling< t_csa, t_bv_sa, t_bv_isa, t_rank_sa, t_select_isa >::marked_sa = m_marked_sa

Definition at line 278 of file csa_sampling_strategy.hpp.

◆ rank_marked_sa

template<class t_csa , class t_bv_sa = sd_vector<>, class t_bv_isa = sd_vector<>, class t_rank_sa = typename t_bv_sa::rank_1_type, class t_select_isa = typename t_bv_isa::select_1_type>
const t_rank_sa& sdsl::_fuzzy_sa_sampling< t_csa, t_bv_sa, t_bv_isa, t_rank_sa, t_select_isa >::rank_marked_sa = m_rank_marked_sa

Definition at line 279 of file csa_sampling_strategy.hpp.

◆ select_marked_isa

template<class t_csa , class t_bv_sa = sd_vector<>, class t_bv_isa = sd_vector<>, class t_rank_sa = typename t_bv_sa::rank_1_type, class t_select_isa = typename t_bv_isa::select_1_type>
const t_select_isa& sdsl::_fuzzy_sa_sampling< t_csa, t_bv_sa, t_bv_isa, t_rank_sa, t_select_isa >::select_marked_isa = m_select_marked_isa

Definition at line 281 of file csa_sampling_strategy.hpp.


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