FST
openfst-1.8.3
OpenFst Library
|
#include <float-weight.h>
Public Types | |
using | ReverseWeight = TropicalWeightTpl< T > |
using | Limits = FloatLimits< T > |
Public Types inherited from fst::FloatWeightTpl< T > | |
using | ValueType = T |
Public Member Functions | |
TropicalWeightTpl () noexcept | |
constexpr | TropicalWeightTpl (T f) |
constexpr bool | Member () const |
TropicalWeightTpl< T > | Quantize (float delta=kDelta) const |
constexpr TropicalWeightTpl< T > | Reverse () const |
Public Member Functions inherited from fst::FloatWeightTpl< T > | |
FloatWeightTpl () noexcept=default | |
constexpr | FloatWeightTpl (T f) |
std::istream & | Read (std::istream &strm) |
std::ostream & | Write (std::ostream &strm) const |
size_t | Hash () const |
constexpr const T & | Value () const |
Static Public Member Functions | |
static constexpr TropicalWeightTpl< T > | Zero () |
static constexpr TropicalWeightTpl< T > | One () |
static constexpr TropicalWeightTpl< T > | NoWeight () |
static const std::string & | Type () |
static constexpr uint64_t | Properties () |
Additional Inherited Members | |
Protected Member Functions inherited from fst::FloatWeightTpl< T > | |
void | SetValue (const T &f) |
Static Protected Member Functions inherited from fst::FloatWeightTpl< T > | |
static constexpr std::string_view | GetPrecisionString () |
Definition at line 206 of file float-weight.h.
using fst::TropicalWeightTpl< T >::Limits = FloatLimits<T> |
Definition at line 211 of file float-weight.h.
using fst::TropicalWeightTpl< T >::ReverseWeight = TropicalWeightTpl<T> |
Definition at line 210 of file float-weight.h.
|
inlinenoexcept |
Definition at line 213 of file float-weight.h.
|
inline |
Definition at line 215 of file float-weight.h.
|
inline |
Definition at line 231 of file float-weight.h.
|
inlinestatic |
Definition at line 221 of file float-weight.h.
|
inlinestatic |
Definition at line 219 of file float-weight.h.
|
inlinestatic |
Definition at line 262 of file float-weight.h.
|
inline |
Definition at line 252 of file float-weight.h.
|
inline |
Definition at line 260 of file float-weight.h.
|
inlinestatic |
Definition at line 225 of file float-weight.h.
|
inlinestatic |
Definition at line 217 of file float-weight.h.