FST
openfst-1.8.4
OpenFst Library
|
#include <float-weight.h>
Public Types | |
using | ReverseWeight = MinMaxWeightTpl< T > |
using | Limits = FloatLimits< T > |
Public Types inherited from fst::FloatWeightTpl< T > | |
using | ValueType = T |
Public Member Functions | |
MinMaxWeightTpl () noexcept | |
constexpr | MinMaxWeightTpl (T f) |
constexpr bool | Member () const |
MinMaxWeightTpl< T > | Quantize (float delta=kDelta) const |
constexpr MinMaxWeightTpl< 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 MinMaxWeightTpl | Zero () |
static constexpr MinMaxWeightTpl | One () |
static constexpr MinMaxWeightTpl | 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 865 of file float-weight.h.
using fst::MinMaxWeightTpl< T >::Limits = FloatLimits<T> |
Definition at line 870 of file float-weight.h.
using fst::MinMaxWeightTpl< T >::ReverseWeight = MinMaxWeightTpl<T> |
Definition at line 869 of file float-weight.h.
|
inlinenoexcept |
Definition at line 872 of file float-weight.h.
|
inline |
Definition at line 874 of file float-weight.h.
|
inline |
Definition at line 889 of file float-weight.h.
|
inlinestatic |
Definition at line 880 of file float-weight.h.
|
inlinestatic |
Definition at line 878 of file float-weight.h.
|
inlinestatic |
Definition at line 903 of file float-weight.h.
|
inline |
Definition at line 891 of file float-weight.h.
|
inline |
Definition at line 901 of file float-weight.h.
|
inlinestatic |
Definition at line 882 of file float-weight.h.
|
inlinestatic |
Definition at line 876 of file float-weight.h.