22 Meta m(
"lcpcomp_comp",
"naive");
30 template<
typename text_t>
38 auto& sa = text.require_sa();
39 auto& isa = text.require_isa();
40 auto& lcp = text.require_lcp();
53 bool available =
true;
54 for(
size_t k = 0; k < l; k++) {
63 size_t src = sa[s - 1];
67 for(
size_t k = 0; k < l; k++) {
Contains the text compression and encoding framework.
A vector over arbitrary unsigned integer types.
static ds::dsflags_t textds_flags()
Algorithm(Algorithm const &)=default
void factorize(text_t &text, size_t threshold, lzss::FactorBuffer &factors)
A very naive selection strategy for LCPComp.
void emplace_back(len_t fpos, len_t fsrc, len_t flen)
Interface for algorithms.