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

a step of the code: the cumulative counts \( [ \mathit{low} , \mathit{high} ) \) of the symbol or of the escape, out of total More...

#include <ADS/compression/PPM.h>

Public attributes

std::uint64_t low
 the cumulative count before the item
std::uint64_t high
 the cumulative count after the item
std::uint64_t total
 the total of the counts, with the escape

Friends

bool operator== (const Step &a, const Step &b)=default
 whether two steps are the same

Detailed description

a step of the code: the cumulative counts \( [ \mathit{low} , \mathit{high} ) \) of the symbol or of the escape, out of total

◆ operator==

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

whether two steps are the same

Member data documentation

◆ high

std::uint64_t ADS::PPMModel::Step::high

the cumulative count after the item

◆ low

std::uint64_t ADS::PPMModel::Step::low

the cumulative count before the item

◆ total

std::uint64_t ADS::PPMModel::Step::total

the total of the counts, with the escape


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