SDSL 3.0.1
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. More... | |
byte_alphabet (int_vector_buffer< 8 > &text_buf, int_vector_size_type len) | |
Construct from a byte-stream. More... | |
byte_alphabet (const byte_alphabet &bas) | |
byte_alphabet (byte_alphabet &&bas) | |
byte_alphabet & | operator= (const byte_alphabet &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. More... | |
bool | operator!= (byte_alphabet const &other) const noexcept |
Inequality operator. 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) |
Public Attributes | |
const char2comp_type & | char2comp |
const comp2char_type & | comp2char |
const C_type & | C |
const sigma_type & | sigma |
A simple space greedy representation for byte alphabets.
Definition at line 124 of file csa_alphabet_strategy.hpp.
Definition at line 140 of file csa_alphabet_strategy.hpp.
typedef int_vector<64> sdsl::byte_alphabet::C_type |
Definition at line 130 of file csa_alphabet_strategy.hpp.
typedef int_vector<8> sdsl::byte_alphabet::char2comp_type |
Definition at line 128 of file csa_alphabet_strategy.hpp.
typedef uint8_t sdsl::byte_alphabet::char_type |
Definition at line 132 of file csa_alphabet_strategy.hpp.
typedef int_vector<8> sdsl::byte_alphabet::comp2char_type |
Definition at line 129 of file csa_alphabet_strategy.hpp.
typedef uint8_t sdsl::byte_alphabet::comp_char_type |
Definition at line 133 of file csa_alphabet_strategy.hpp.
typedef uint16_t sdsl::byte_alphabet::sigma_type |
Definition at line 131 of file csa_alphabet_strategy.hpp.
typedef int_vector ::size_type sdsl::byte_alphabet::size_type |
Definition at line 127 of file csa_alphabet_strategy.hpp.
typedef std::string sdsl::byte_alphabet::string_type |
Definition at line 134 of file csa_alphabet_strategy.hpp.
anonymous enum |
Enumerator | |
---|---|
int_width |
Definition at line 135 of file csa_alphabet_strategy.hpp.
|
inline |
Default constructor.
Definition at line 154 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 167 of file csa_alphabet_strategy.hpp.
|
inline |
Definition at line 200 of file csa_alphabet_strategy.hpp.
|
inline |
Definition at line 211 of file csa_alphabet_strategy.hpp.
|
inline |
Definition at line 284 of file csa_alphabet_strategy.hpp.
|
inline |
Definition at line 275 of file csa_alphabet_strategy.hpp.
|
inline |
Definition at line 256 of file csa_alphabet_strategy.hpp.
|
inlinenoexcept |
Inequality operator.
Definition at line 272 of file csa_alphabet_strategy.hpp.
|
inline |
Definition at line 232 of file csa_alphabet_strategy.hpp.
|
inline |
Definition at line 222 of file csa_alphabet_strategy.hpp.
|
inlinenoexcept |
Equality operator.
Definition at line 265 of file csa_alphabet_strategy.hpp.
|
inline |
Definition at line 244 of file csa_alphabet_strategy.hpp.
const C_type& sdsl::byte_alphabet::C |
Definition at line 144 of file csa_alphabet_strategy.hpp.
const char2comp_type& sdsl::byte_alphabet::char2comp |
Definition at line 142 of file csa_alphabet_strategy.hpp.
const comp2char_type& sdsl::byte_alphabet::comp2char |
Definition at line 143 of file csa_alphabet_strategy.hpp.
const sigma_type& sdsl::byte_alphabet::sigma |
Definition at line 145 of file csa_alphabet_strategy.hpp.