FST
openfst-1.8.3
OpenFst Library
|
#include <float-weight.h>
Public Types | |
using | ReverseWeight = RealWeightTpl |
using | Limits = FloatLimits< T > |
Public Types inherited from fst::FloatWeightTpl< T > | |
using | ValueType = T |
Public Member Functions | |
RealWeightTpl () noexcept | |
constexpr | RealWeightTpl (T f) |
constexpr bool | Member () const |
RealWeightTpl< T > | Quantize (float delta=kDelta) const |
constexpr RealWeightTpl< 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 RealWeightTpl | Zero () |
static constexpr RealWeightTpl | One () |
static constexpr RealWeightTpl | 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 667 of file float-weight.h.
using fst::RealWeightTpl< T >::Limits = FloatLimits<T> |
Definition at line 672 of file float-weight.h.
using fst::RealWeightTpl< T >::ReverseWeight = RealWeightTpl |
Definition at line 671 of file float-weight.h.
|
inlinenoexcept |
Definition at line 674 of file float-weight.h.
|
inline |
Definition at line 676 of file float-weight.h.
|
inline |
Definition at line 690 of file float-weight.h.
|
inlinestatic |
Definition at line 682 of file float-weight.h.
|
inlinestatic |
Definition at line 680 of file float-weight.h.
|
inlinestatic |
Definition at line 705 of file float-weight.h.
|
inline |
Definition at line 695 of file float-weight.h.
|
inline |
Definition at line 703 of file float-weight.h.
|
inlinestatic |
Definition at line 684 of file float-weight.h.
|
inlinestatic |
Definition at line 678 of file float-weight.h.