8#ifndef INCLUDED_SDSL_LCP_VLC
9#define INCLUDED_SDSL_LCP_VLC
31template <
class t_vlc_vec = vlc_vector<>>
125 written_bytes += m_vec.serialize(out, child,
"vec");
127 return written_bytes;
136 template <
typename archive_t>
142 template <
typename archive_t>
151 return (m_vec == other.m_vec);
157 return !(*
this == other);
cereal.hpp offers cereal support
static size_type max_size()
Return the largest size that this container can ever have.
static size_type max_size()
Returns the largest size that lcp_vlc can ever have.
void CEREAL_LOAD_FUNCTION_NAME(archive_t &ar)
const value_type const_reference
lcp_vlc(lcp_vlc &&)=default
bool empty() const
Returns if the data strucutre is empty.
size_type size() const
Number of elements in the instance.
lcp_vlc()=default
Default Constructor.
value_type operator[](size_type i) const
[]-operator
void CEREAL_SAVE_FUNCTION_NAME(archive_t &ar) const
const_iterator begin() const
Returns a const_iterator to the first element.
lcp_vlc(cache_config &config, std::string other_key="")
Construct.
bool operator==(lcp_vlc const &other) const noexcept
Equality operator.
bool operator!=(lcp_vlc const &other) const noexcept
Inequality operator.
dac_vector< t_b, t_rank >::value_type value_type
lcp_vlc & operator=(lcp_vlc &&)=default
random_access_const_iterator< lcp_vlc > const_iterator
void load(std::istream &in)
Load from a stream.
lcp_plain_tag lcp_category
dac_vector< t_b, t_rank > vlc_vec_type
dac_vector< t_b, t_rank >::difference_type difference_type
const_reference * pointer
lcp_vlc(lcp_vlc const &)=default
Copy / Move constructor.
const_iterator end() const
Returns a const_iterator to the element after the last element.
lcp_vlc & operator=(lcp_vlc const &)=default
dac_vector< t_b, t_rank >::size_type size_type
const pointer const_pointer
size_type serialize(std::ostream &out, structure_tree_node *v=nullptr, std::string name="") const
Serialize to a stream.
const_reference reference
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_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.
vlc_vector.hpp contains a vector which stores the values with variable length codes.