Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
Public Member Functions
stringology::compression::ArithmeticCoder< SymbolType, Model > Class Template Reference

#include <ArithmeticCompression.h>

Public Member Functions

 ArithmeticCoder (Model model)
 
template<class Callback >
void encode (const SymbolType &symbol, Callback &&callback)
 
template<class Callback >
void finalize (Callback &&callback)
 
Model & getModel ()
 

Constructor & Destructor Documentation

◆ ArithmeticCoder()

template<class SymbolType , class Model >
stringology::compression::ArithmeticCoder< SymbolType, Model >::ArithmeticCoder ( Model  model)
inline

Member Function Documentation

◆ encode()

template<class SymbolType , class Model >
template<class Callback >
void stringology::compression::ArithmeticCoder< SymbolType, Model >::encode ( const SymbolType &  symbol,
Callback &&  callback 
)
inline
Here is the call graph for this function:

◆ finalize()

template<class SymbolType , class Model >
template<class Callback >
void stringology::compression::ArithmeticCoder< SymbolType, Model >::finalize ( Callback &&  callback)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getModel()

template<class SymbolType , class Model >
Model & stringology::compression::ArithmeticCoder< SymbolType, Model >::getModel ( )
inline

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