8#ifndef INCLUDED_SDSL_LCP
9#define INCLUDED_SDSL_LCP
40template <
class t_lcp,
class t_cst>
43 typename t_lcp::lcp_category tag;
47template <
class t_lcp,
class t_cst>
53template <
class t_lcp,
class t_cst>
56 lcp = t_lcp(config, &(cst.csa));
59template <
class t_lcp,
class t_cst>
62 lcp = t_lcp(config, &cst);
65template <
class t_lcp,
class t_cst>
68 lcp = t_lcp(config, &cst);
72template <
class t_lcp,
class t_cst>
73void copy_lcp(t_lcp & lcp, t_lcp
const & lcp_c, t_cst
const & cst)
75 typename t_lcp::lcp_category tag;
79template <
class t_lcp,
class t_cst>
85template <
class t_lcp,
class t_cst>
89 lcp.set_csa(&(cst.csa));
92template <
class t_lcp,
class t_cst>
99template <
class t_lcp,
class t_cst>
107template <
class t_lcp,
class t_cst>
108void move_lcp(t_lcp && lcp, t_lcp && lcp_c, t_cst
const & cst)
110 typename std::remove_reference<t_lcp>::type::lcp_category tag;
111 move_lcp(std::forward<t_lcp>(lcp), std::forward<t_lcp>(lcp_c), cst, tag);
114template <
class t_lcp,
class t_cst>
117 lcp = std::move(lcp_c);
120template <
class t_lcp,
class t_cst>
123 lcp = std::move(lcp_c);
124 lcp.set_csa(&(cst.csa));
127template <
class t_lcp,
class t_cst>
130 lcp = std::move(lcp_c);
134template <
class t_lcp,
class t_cst>
137 lcp = std::move(lcp_c);
142template <
class t_lcp,
class t_cst>
143void load_lcp(t_lcp & lcp, std::istream & in, t_cst
const & cst)
145 typename t_lcp::lcp_category tag;
149template <
class t_lcp,
class t_cst>
155template <
class t_lcp,
class t_cst>
158 lcp.load(in, &(cst.csa));
161template <
class t_lcp,
class t_cst>
167template <
class t_lcp,
class t_cst>
174template <
class t_lcp,
class t_cst>
177 typename t_lcp::lcp_category tag;
181template <
class t_lcp,
class t_cst>
185template <
class t_lcp,
class t_cst>
188 lcp.set_csa(&(cst.csa));
191template <
class t_lcp,
class t_cst>
197template <
class t_lcp,
class t_cst>
construct_isa.hpp contains a space and time efficient construction method for the inverse suffix arra...
csa_alphabet_strategy.hpp includes different strategy classes for representing an alphabet of a CSA.
int_vector.hpp contains the sdsl::int_vector class.
lcp_bitcompressed.hpp contains a bitcompressed LCP array.
lcp_byte.hpp contains a (compressed) lcp array.
lcp_dac.hpp contains an implementation of a (compressed) LCP array.
lcp_support_sada.hpp contains a compressed lcp array.
lcp_wt.hpp contains a (compressed) LCP array based on a WT.
Namespace for the succinct data structure library.
void copy_lcp(t_lcp &lcp, t_lcp const &lcp_c, t_cst const &cst)
void move_lcp(t_lcp &&lcp, t_lcp &&lcp_c, t_cst const &cst)
void load_lcp(t_lcp &lcp, std::istream &in, t_cst const &cst)
void set_lcp_pointer(t_lcp &lcp, t_cst const &cst)
void construct_lcp(t_lcp &lcp, t_cst const &cst, cache_config &config)
Contains declarations and definitions of data structure concepts.
select_support_mcl.hpp contains classes that support a sdsl::bit_vector with constant time select inf...
Helper class for construction process.