8#ifndef INCLUDED_SDSL_LCP_BITCOMPRESSED
9#define INCLUDED_SDSL_LCP_BITCOMPRESSED
29template <u
int8_t t_w
idth = 0>
76 m_lcp[i] = lcp_buf[i];
118 template <
typename archive_t>
124 template <
typename archive_t>
135 written_bytes += m_lcp.
serialize(out, child,
"lcp");
137 return written_bytes;
143 return (m_lcp == other.m_lcp);
149 return !(*
this == other);
cereal.hpp offers cereal support
uint64_t size() const
Returns the number of elements currently stored.
uint8_t width() const
Returns the width of the integers which are accessed via the [] operator.
A generic vector class for integers of width .
int_vector_size_type size_type
bool empty() const noexcept
Equivalent to size() == 0.
int_vector_trait< t_width >::value_type value_type
void load(std::istream &in)
Load the int_vector for a stream.
static size_type max_size() noexcept
Maximum size of the int_vector.
size_type size() const noexcept
The number of elements in the int_vector.
size_type serialize(std::ostream &out, structure_tree_node *v=nullptr, std::string name="") const
Serializes the int_vector to a stream.
const_iterator begin() const
Returns a const_iterator to the first element.
lcp_bitcompressed & operator=(lcp_bitcompressed &&)=default
size_type size() const
Number of elements in the instance.
bool empty() const
Returns if the data structure is empty.
const_reference * pointer
lcp_bitcompressed()
Default Constructor.
static size_type max_size()
Returns the largest size that lcp_bitcompressed can ever have.
random_access_const_iterator< lcp_bitcompressed > const_iterator
value_type operator[](size_type i) const
Access operator.
const_iterator end() const
Returns a const_iterator to the element after the last element.
int_vector< t_width >::size_type size_type
lcp_bitcompressed(lcp_bitcompressed &&)=default
ptrdiff_t difference_type
bool operator!=(lcp_bitcompressed const &other) const noexcept
Inequality operator.
int_vector< t_width >::value_type value_type
void load(std::istream &in)
Load from a stream.
const_reference reference
lcp_plain_tag lcp_category
bool operator==(lcp_bitcompressed const &other) const noexcept
Equality operator.
const value_type const_reference
lcp_bitcompressed(lcp_bitcompressed const &)=default
const pointer const_pointer
lcp_bitcompressed & operator=(lcp_bitcompressed const &)=default
size_type serialize(std::ostream &out, structure_tree_node *v=nullptr, std::string name="") const
Serialize to a stream.
void CEREAL_SAVE_FUNCTION_NAME(archive_t &ar) const
void CEREAL_LOAD_FUNCTION_NAME(archive_t &ar)
lcp_bitcompressed(cache_config &config)
Constructor taking a cache_config.
Generic iterator for a random access container.
static structure_tree_node * add_child(structure_tree_node *v, std::string const &name, std::string const &type)
static void add_size(structure_tree_node *v, uint64_t value)
int_vector.hpp contains the sdsl::int_vector class.
int_vector_buffer.hpp contains the sdsl::int_vector_buffer class.
io.hpp contains some methods for reading/writing sdsl structures.
iterators.hpp contains an generic iterator for random access containers.
Namespace for the succinct data structure library.
std::string cache_file_name(std::string const &key, cache_config const &config)
Returns the file name of the resource.
Contains declarations and definitions of data structure concepts.
Helper class for construction process.
structure_tree.hpp contains a helper class which can represent the memory structure of a class.
util.hpp contains some helper methods for int_vector and other stuff like demangle class names.