|
ADS
Algorithms and Data Structures
|
a phrase of LZSS: a copy of length symbols from distance back, or the literal when distance is 0 More...
#include <ADS/compression/LempelZiv.h>
Public attributes | |
| std::size_t | distance |
| how far back the copy starts, 0 for a literal | |
| std::size_t | length |
| the symbols copied, 1 for a literal | |
| char | literal |
| the symbol of a literal | |
Friends | |
| bool | operator== (const LZSSPhrase &a, const LZSSPhrase &b)=default |
| whether the two phrases are equal | |
|
friend |
whether the two phrases are equal
| std::size_t ADS::LZSSPhrase::distance |
how far back the copy starts, 0 for a literal
| std::size_t ADS::LZSSPhrase::length |
the symbols copied, 1 for a literal
| char ADS::LZSSPhrase::literal |
the symbol of a literal