|
| _bwt_sampling () |
| Default constructor. More...
|
|
| _bwt_sampling (const cache_config &cconfig, SDSL_UNUSED const t_csa *csa=nullptr) |
| Constructor. More...
|
|
| _bwt_sampling (const _bwt_sampling &st) |
| Copy constructor. More...
|
|
bool | is_sampled (size_type i) const |
| Determine if index i is sampled or not. More...
|
|
value_type | operator[] (size_type i) const |
| Return the suffix array value for the sampled index i. More...
|
|
_bwt_sampling & | operator= (const _bwt_sampling &st) |
| Assignment operation. More...
|
|
void | swap (_bwt_sampling &st) |
| Swap operation. More...
|
|
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) |
|
void | bit_resize (const size_type size) |
| Resize the int_vector in terms of bits. Only as much space as necessary is allocated. More...
|
|
| int_vector (size_type size, value_type default_value, uint8_t int_width=t_width) |
| Constructor for int_vector. More...
|
|
| int_vector (size_type size=0) |
| Constructor to fix possible comparison with integeres issue. More...
|
|
| int_vector (std::initializer_list< value_type > il) |
| Constructor for initializer_list. More...
|
|
| int_vector (typename std::enable_if< std::is_base_of< std::input_iterator_tag, typename std::iterator_traits< input_iterator_t >::iterator_category >::value, input_iterator_t >::type first, input_iterator_t last) |
| Constructor for iterator range. More...
|
|
| int_vector (int_vector &&v) |
| Move constructor. More...
|
|
| int_vector (const int_vector &v) |
| Copy constructor. More...
|
|
void | clear () noexcept |
| Clearing the int_vector. Allocated memory will not be released. More...
|
|
iterator | erase (const_iterator it) |
| Remove element that iterator is pointing to. More...
|
|
iterator | erase (const_iterator first, const_iterator last) |
| Remove elements in given iterator range. More...
|
|
iterator | emplace (const_iterator it, Args &&... args) |
| Insert an element constructed with std::forward<Args>(args) before the element that the iterator is pointing to. More...
|
|
iterator | insert (const_iterator it, value_type value) |
| Insert an element before the element that the iterator is pointing to. More...
|
|
iterator | insert (const_iterator it, size_type n, value_type value) |
| Insert n copies of an element before the element that the iterator is pointing to. More...
|
|
iterator | insert (const_iterator it, std::initializer_list< value_type > il) |
| Insert elements from intializer_list before the element that the iterator is pointing to. More...
|
|
std::enable_if< std::is_base_of< std::input_iterator_tag, typename std::iterator_traits< input_iterator_t >::iterator_category >::value, iterator >::type | insert (const_iterator it, input_iterator_t first, input_iterator_t last) |
| Insert elements from an iterator pair before the element that the iterator it is pointing to. More...
|
|
reference | front () noexcept |
| Returns first element. More...
|
|
const_reference | front () const noexcept |
| Returns first element. More...
|
|
reference | back () noexcept |
| Returns last element. More...
|
|
const_reference | back () const noexcept |
| Returns last element. More...
|
|
void | emplace_back (Args &&... args) |
| Insert an element constructed with std::forward<Args>(args) at the end. More...
|
|
void | push_back (value_type value) |
| Insert element at the end. More...
|
|
void | pop_back () |
| Remove element at the end. More...
|
|
| ~int_vector () |
| Destructor. More...
|
|
void | assign (size_type size, value_type default_value) |
| Assign. Resize int_vector to size and fill elements with default_value . More...
|
|
void | assign (std::initializer_list< value_type > il) |
| Assign. Resize int_vector and initialize with initializer_list. More...
|
|
void | assign (input_iterator_t first, input_iterator_t last) |
| Assign. Resize int_vector and initialize by copying from an iterator range. More...
|
|
bool | empty () const noexcept |
| Equivalent to size() == 0. More...
|
|
void | swap (int_vector &v) noexcept |
| Swap method for int_vector. More...
|
|
void | shrink_to_fit () |
| Free unused allocated memory. More...
|
|
void | reserve (size_type capacity) |
| Reserve storage. If the new capacity is smaller than the current, this method does nothing. More...
|
|
void | resize (const size_type size) |
| Resize the int_vector in terms of elements. More...
|
|
void | resize (const size_type size, const value_type value) |
| Resize the int_vector in terms of elements. Only as much space as necessary is allocated. More...
|
|
size_type | size () const noexcept |
| The number of elements in the int_vector. More...
|
|
int_vector< 64 >::size_type | size () const noexcept |
|
int_vector< 32 >::size_type | size () const noexcept |
|
int_vector< 16 >::size_type | size () const noexcept |
|
int_vector< 8 >::size_type | size () const noexcept |
|
int_vector< 1 >::size_type | size () const noexcept |
|
size_type | bit_size () const noexcept |
| The number of bits in the int_vector. More...
|
|
size_type | capacity () const noexcept |
| Returns the size of the occupied bits of the int_vector. More...
|
|
int_vector< 64 >::size_type | capacity () const noexcept |
|
int_vector< 32 >::size_type | capacity () const noexcept |
|
int_vector< 16 >::size_type | capacity () const noexcept |
|
int_vector< 8 >::size_type | capacity () const noexcept |
|
int_vector< 1 >::size_type | capacity () const noexcept |
|
size_type | bit_capacity () const noexcept |
| Returns the size of the occupied bits of the int_vector. More...
|
|
const uint64_t * | data () const noexcept |
| Pointer to the raw data of the int_vector. More...
|
|
uint64_t * | data () noexcept |
| Pointer to the raw data of the int_vector. More...
|
|
value_type | get_int (size_type idx, const uint8_t len=64) const |
| Get the integer value of the binary string of length len starting at position idx in the int_vector. More...
|
|
void | set_int (size_type idx, value_type x, const uint8_t len=64) |
| Set the bits from position idx to idx+len-1 to the binary representation of integer x. More...
|
|
uint8_t | width () const noexcept |
| Returns the width of the integers which are accessed via the [] operator. More...
|
|
void | width (uint8_t new_width) noexcept |
| Sets the width of the integers which are accessed via the [] operator, if t_width equals 0. More...
|
|
size_type | write_data (std::ostream &out) const |
|
size_type | serialize (std::ostream &out, structure_tree_node *v=nullptr, std::string name="") const |
| Serializes the int_vector to a stream. More...
|
|
void | load (std::istream &in) |
| Load the int_vector for a stream. More...
|
|
std::enable_if<!cereal::traits::is_output_serializable< cereal::BinaryData< int_vector< t_width > >, archive_t >::value, void >::type | CEREAL_SAVE_FUNCTION_NAME (archive_t &ar) const |
| Serialise (save) via cereal if archive is not binary. More...
|
|
std::enable_if< cereal::traits::is_output_serializable< cereal::BinaryData< int_vector< t_width > >, archive_t >::value, void >::type | CEREAL_SAVE_FUNCTION_NAME (archive_t &ar) const |
| Serialise (save) via cereal if archive is binary. More...
|
|
std::enable_if<!cereal::traits::is_input_serializable< cereal::BinaryData< int_vector< t_width > >, archive_t >::value, void >::type | CEREAL_LOAD_FUNCTION_NAME (archive_t &ar) |
| Serialise (load) via cereal if archive is not binary. More...
|
|
std::enable_if< cereal::traits::is_input_serializable< cereal::BinaryData< int_vector< t_width > >, archive_t >::value, void >::type | CEREAL_LOAD_FUNCTION_NAME (archive_t &ar) |
| Serialise (save) via cereal if archive is binary. More...
|
|
reference | operator[] (const size_type &i) noexcept |
| non const version of [] operator More...
|
|
const_reference | operator[] (const size_type &i) const noexcept |
| const version of [] operator More...
|
|
auto | operator[] (const size_type &idx) noexcept -> reference |
|
auto | operator[] (const size_type &idx) noexcept -> reference |
|
auto | operator[] (const size_type &idx) noexcept -> reference |
|
auto | operator[] (const size_type &idx) noexcept -> reference |
|
auto | operator[] (const size_type &idx) const noexcept -> const_reference |
|
auto | operator[] (const size_type &idx) const noexcept -> const_reference |
|
auto | operator[] (const size_type &idx) const noexcept -> const_reference |
|
auto | operator[] (const size_type &idx) const noexcept -> const_reference |
|
auto | operator[] (const size_type &idx) const noexcept -> const_reference |
|
auto | operator[] (const size_type &idx) const noexcept -> const_reference |
|
reference | at (const size_type &i) |
| non const version of at() function More...
|
|
const_reference | at (const size_type &i) const |
| const version of at() function More...
|
|
int_vector & | operator= (const int_vector &v) |
| Assignment operator. More...
|
|
int_vector & | operator= (int_vector &&v) |
| Move assignment operator. More...
|
|
bool | operator== (const int_vector< t_width > &v) const noexcept |
| Equality operator for two int_vectors. More...
|
|
bool | operator!= (const int_vector< t_width2 > &v) const noexcept |
| Inequality operator for two int_vectors. More...
|
|
bool | operator< (const int_vector &v) const noexcept |
| Less operator for two int_vectors. More...
|
|
bool | operator> (const int_vector &v) const noexcept |
| Greater operator for two int_vectors. More...
|
|
bool | operator<= (const int_vector &v) const noexcept |
| Less or equal operator. More...
|
|
bool | operator>= (const int_vector &v) const noexcept |
| Greater of equal operator. More...
|
|
int_vector & | operator&= (const int_vector &v) |
| bitwise-and-update operator More...
|
|
int_vector & | operator|= (const int_vector &v) |
| bitwise-or-update equal operator More...
|
|
int_vector & | operator^= (const int_vector &v) |
| bitwise-xor-update operator More...
|
|
iterator | begin () noexcept |
| Iterator that points to the first element of the int_vector. More...
|
|
const_iterator | begin () const noexcept |
| Const iterator that points to the first element of the int_vector. More...
|
|
iterator | end () noexcept |
| Iterator that points to the element after the last element of int_vector. More...
|
|
const_iterator | end () const noexcept |
| Const iterator that points to the element after the last element of int_vector. More...
|
|
const_iterator | cbegin () const noexcept |
| Const iterator that points to the first element of the int_vector. More...
|
|
const_iterator | cend () const noexcept |
| Const iterator that points to the element after the last element of int_vector. More...
|
|
void | flip () |
| Flip all bits of bit_vector. More...
|
|