SDSL 3.0.2
Succinct Data Structure Library
|
A simple space greedy representation for byte alphabets. More...
#include <csa_alphabet_strategy.hpp>
Public Types | |
enum | { int_width = 8 } |
typedef int_vector ::size_type | size_type |
typedef int_vector< 8 > | char2comp_type |
typedef int_vector< 8 > | comp2char_type |
typedef int_vector< 64 > | C_type |
typedef uint16_t | sigma_type |
typedef uint8_t | char_type |
typedef uint8_t | comp_char_type |
typedef std::string | string_type |
typedef byte_alphabet_tag | alphabet_category |
Public Member Functions | |
byte_alphabet () | |
Default constructor. | |
byte_alphabet (int_vector_buffer< 8 > &text_buf, int_vector_size_type len) | |
Construct from a byte-stream. | |
byte_alphabet (byte_alphabet const &bas) | |
byte_alphabet (byte_alphabet &&bas) | |
byte_alphabet & | operator= (byte_alphabet const &bas) |
byte_alphabet & | operator= (byte_alphabet &&bas) |
size_type | serialize (std::ostream &out, structure_tree_node *v, std::string name="") const |
void | load (std::istream &in) |
bool | operator== (byte_alphabet const &other) const noexcept |
Equality operator. | |
bool | operator!= (byte_alphabet const &other) const noexcept |
Inequality operator. | |
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) |
Public Attributes | |
char2comp_type const & | char2comp |
comp2char_type const & | comp2char |
C_type const & | C |
sigma_type const & | sigma |
A simple space greedy representation for byte alphabets.
Definition at line 136 of file csa_alphabet_strategy.hpp.
Definition at line 152 of file csa_alphabet_strategy.hpp.
typedef int_vector<64> sdsl::byte_alphabet::C_type |
Definition at line 142 of file csa_alphabet_strategy.hpp.
typedef int_vector<8> sdsl::byte_alphabet::char2comp_type |
Definition at line 140 of file csa_alphabet_strategy.hpp.
typedef uint8_t sdsl::byte_alphabet::char_type |
Definition at line 144 of file csa_alphabet_strategy.hpp.
typedef int_vector<8> sdsl::byte_alphabet::comp2char_type |
Definition at line 141 of file csa_alphabet_strategy.hpp.
typedef uint8_t sdsl::byte_alphabet::comp_char_type |
Definition at line 145 of file csa_alphabet_strategy.hpp.
typedef uint16_t sdsl::byte_alphabet::sigma_type |
Definition at line 143 of file csa_alphabet_strategy.hpp.
typedef int_vector ::size_type sdsl::byte_alphabet::size_type |
Definition at line 139 of file csa_alphabet_strategy.hpp.
typedef std::string sdsl::byte_alphabet::string_type |
Definition at line 146 of file csa_alphabet_strategy.hpp.
anonymous enum |
Enumerator | |
---|---|
int_width |
Definition at line 147 of file csa_alphabet_strategy.hpp.
|
inline |
Default constructor.
Definition at line 167 of file csa_alphabet_strategy.hpp.
|
inline |
Construct from a byte-stream.
text_buf | Byte stream. |
len | Length of the byte stream. |
Definition at line 175 of file csa_alphabet_strategy.hpp.
|
inline |
Definition at line 214 of file csa_alphabet_strategy.hpp.
|
inline |
Definition at line 225 of file csa_alphabet_strategy.hpp.
|
inline |
Definition at line 301 of file csa_alphabet_strategy.hpp.
|
inline |
Definition at line 292 of file csa_alphabet_strategy.hpp.
|
inline |
Definition at line 270 of file csa_alphabet_strategy.hpp.
|
inlinenoexcept |
Inequality operator.
Definition at line 286 of file csa_alphabet_strategy.hpp.
|
inline |
Definition at line 246 of file csa_alphabet_strategy.hpp.
|
inline |
Definition at line 236 of file csa_alphabet_strategy.hpp.
|
inlinenoexcept |
Equality operator.
Definition at line 279 of file csa_alphabet_strategy.hpp.
|
inline |
Definition at line 258 of file csa_alphabet_strategy.hpp.
C_type const& sdsl::byte_alphabet::C |
Definition at line 156 of file csa_alphabet_strategy.hpp.
char2comp_type const& sdsl::byte_alphabet::char2comp |
Definition at line 154 of file csa_alphabet_strategy.hpp.
comp2char_type const& sdsl::byte_alphabet::comp2char |
Definition at line 155 of file csa_alphabet_strategy.hpp.
sigma_type const& sdsl::byte_alphabet::sigma |
Definition at line 157 of file csa_alphabet_strategy.hpp.