|
ADS
Algorithms and Data Structures
|
a phrase of LZ77: copy length symbols from distance back, then next (none at the end of the text); distance is 0 when length is 0 More...
#include <ADS/compression/LempelZiv.h>
Public attributes | |
| std::size_t | distance |
| how far back the copy starts | |
| std::size_t | length |
| the symbols copied | |
| std::optional< char > | next |
| the symbol after the copy, if any | |
Friends | |
| bool | operator== (const LZ77Phrase &a, const LZ77Phrase &b)=default |
| whether the two phrases are equal | |
a phrase of LZ77: copy length symbols from distance back, then next (none at the end of the text); distance is 0 when length is 0
|
friend |
whether the two phrases are equal
| std::size_t ADS::LZ77Phrase::distance |
how far back the copy starts
| std::size_t ADS::LZ77Phrase::length |
the symbols copied
| std::optional< char > ADS::LZ77Phrase::next |
the symbol after the copy, if any