ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::LZ78Phrase Struct Reference

a phrase of LZ78: the phrase id followed by next More...

#include <ADS/compression/LempelZiv.h>

Public attributes

std::size_t id
 the phrase of the dictionary, 0 the empty one
char next
 the symbol that follows it

Friends

bool operator== (const LZ78Phrase &a, const LZ78Phrase &b)=default
 whether the two phrases are equal

Detailed description

a phrase of LZ78: the phrase id followed by next

◆ operator==

bool operator== ( const LZ78Phrase & a,
const LZ78Phrase & b )
friend

whether the two phrases are equal

Member data documentation

◆ id

std::size_t ADS::LZ78Phrase::id

the phrase of the dictionary, 0 the empty one

◆ next

char ADS::LZ78Phrase::next

the symbol that follows it


The documentation for this struct was generated from the following file: