FST
openfst-1.8.4
OpenFst Library
|
#include <float-weight.h>
Public Types | |
using | ReverseWeight = TropicalWeightTpl< T > |
using | Limits = FloatLimits< 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 |
![]() | |
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 | |
![]() | |
void | SetValue (const T &f) |
![]() | |
static constexpr std::string_view | GetPrecisionString () |
Definition at line 205 of file float-weight.h.
using fst::TropicalWeightTpl< T >::Limits = FloatLimits<T> |
Definition at line 210 of file float-weight.h.
using fst::TropicalWeightTpl< T >::ReverseWeight = TropicalWeightTpl<T> |
Definition at line 209 of file float-weight.h.
|
inlinenoexcept |
Definition at line 212 of file float-weight.h.
|
inline |
Definition at line 214 of file float-weight.h.
|
inline |
Definition at line 230 of file float-weight.h.
|
inlinestatic |
Definition at line 220 of file float-weight.h.
|
inlinestatic |
Definition at line 218 of file float-weight.h.
|
inlinestatic |
Definition at line 261 of file float-weight.h.
|
inline |
Definition at line 251 of file float-weight.h.
|
inline |
Definition at line 259 of file float-weight.h.
|
inlinestatic |
Definition at line 224 of file float-weight.h.
|
inlinestatic |
Definition at line 216 of file float-weight.h.