![]() |
Project
|
#include <dc_primitives.h>
Public Types | |
| using | alphabet_type = Alphabet |
| using | value_type = typename Alphabet::value_type |
| using | weight_type = WeightType |
| using | TableType = std::map< value_type, WeightType > |
Public Member Functions | |
| ProbabilityModel () | |
| ~ProbabilityModel ()=default | |
| constexpr const char * | getName () const |
| int | addWeight (value_type value, weight_type weight=_default1) |
| int | initWeight (Alphabet &alphabet, WeightType weight=_default1) |
| WeightType | normalize () |
| const WeightType & | operator[] (value_type v) const |
| TableType::const_iterator | begin () const |
| TableType::const_iterator | end () const |
| TableType::iterator | begin () |
| TableType::iterator | end () |
| void | print () const |
Static Public Attributes | |
| static const value_type | _default0 = 0 |
| static const value_type | _default1 = _default0 + 1 |
Definition at line 358 of file dc_primitives.h.
| using o2::data_compression::ProbabilityModel< Alphabet, WeightType >::alphabet_type = Alphabet |
Definition at line 361 of file dc_primitives.h.
| using o2::data_compression::ProbabilityModel< Alphabet, WeightType >::TableType = std::map<value_type, WeightType> |
Definition at line 364 of file dc_primitives.h.
| using o2::data_compression::ProbabilityModel< Alphabet, WeightType >::value_type = typename Alphabet::value_type |
Definition at line 362 of file dc_primitives.h.
| using o2::data_compression::ProbabilityModel< Alphabet, WeightType >::weight_type = WeightType |
Definition at line 363 of file dc_primitives.h.
|
inline |
Definition at line 370 of file dc_primitives.h.
|
default |
|
inline |
Definition at line 379 of file dc_primitives.h.
|
inline |
Definition at line 426 of file dc_primitives.h.
|
inline |
Definition at line 422 of file dc_primitives.h.
|
inline |
Definition at line 428 of file dc_primitives.h.
|
inline |
Definition at line 424 of file dc_primitives.h.
|
inlineconstexpr |
Definition at line 373 of file dc_primitives.h.
|
inline |
Definition at line 386 of file dc_primitives.h.
|
inline |
Definition at line 396 of file dc_primitives.h.
|
inline |
Definition at line 412 of file dc_primitives.h.
|
inline |
Definition at line 430 of file dc_primitives.h.
|
static |
Definition at line 367 of file dc_primitives.h.
|
static |
Definition at line 368 of file dc_primitives.h.