Definition at line 60 of file field_codec_arithmetic.h.
◆ freq_type
typedef uint32 dccl::arith::Model::freq_type |
◆ symbol_type
using dccl::arith::Model::symbol_type = int |
◆ value_type
using dccl::arith::Model::value_type = double |
◆ ModelState
enum dccl::arith::Model::ModelState |
◆ Model()
◆ cumulative_freq_to_symbol()
std::pair< dccl::arith::Model::symbol_type, dccl::arith::Model::symbol_type > dccl::arith::Model::cumulative_freq_to_symbol |
( |
std::pair< freq_type, freq_type > |
c_freq_pair, |
|
|
ModelState |
state |
|
) |
| const |
◆ max_symbol()
symbol_type dccl::arith::Model::max_symbol |
( |
| ) |
const |
|
inline |
◆ symbol_to_cumulative_freq()
std::pair< dccl::arith::Model::freq_type, dccl::arith::Model::freq_type > dccl::arith::Model::symbol_to_cumulative_freq |
( |
symbol_type |
symbol, |
|
|
ModelState |
state |
|
) |
| const |
◆ symbol_to_value()
dccl::arith::Model::value_type dccl::arith::Model::symbol_to_value |
( |
symbol_type |
symbol | ) |
const |
◆ total_freq()
freq_type dccl::arith::Model::total_freq |
( |
ModelState |
state | ) |
const |
|
inline |
◆ total_symbols()
symbol_type dccl::arith::Model::total_symbols |
( |
| ) |
|
|
inline |
◆ update_model()
void dccl::arith::Model::update_model |
( |
symbol_type |
symbol, |
|
|
ModelState |
state |
|
) |
| |
◆ user_model()
◆ value_to_symbol()
dccl::arith::Model::symbol_type dccl::arith::Model::value_to_symbol |
( |
value_type |
value | ) |
const |
◆ ModelManager
◆ CODE_VALUE_BITS
const int dccl::arith::Model::CODE_VALUE_BITS = 32 |
|
staticconstexpr |
◆ EOF_SYMBOL
const dccl::arith::Model::symbol_type dccl::arith::Model::EOF_SYMBOL = -2 |
|
staticconstexpr |
◆ FREQUENCY_BITS
const int dccl::arith::Model::FREQUENCY_BITS = CODE_VALUE_BITS - 2 |
|
staticconstexpr |
◆ last_bits_map
std::map< std::string, std::map< std::string, dccl::Bitset > > dccl::arith::Model::last_bits_map |
|
static |
◆ MAX_FREQUENCY
const dccl::arith::Model::freq_type dccl::arith::Model::MAX_FREQUENCY = (1 << FREQUENCY_BITS) - 1 |
|
staticconstexpr |
◆ MIN_SYMBOL
const dccl::arith::Model::symbol_type dccl::arith::Model::MIN_SYMBOL = EOF_SYMBOL |
|
staticconstexpr |
◆ OUT_OF_RANGE_SYMBOL
const dccl::arith::Model::symbol_type dccl::arith::Model::OUT_OF_RANGE_SYMBOL = -1 |
|
staticconstexpr |
The documentation for this class was generated from the following files: