FST  openfst-1.7.1
OpenFst Library
Public Types | Public Member Functions | Static Public Member Functions | List of all members
fst::TropicalWeightTpl< T > Class Template Reference

#include <float-weight.h>

Inheritance diagram for fst::TropicalWeightTpl< T >:
Inheritance graph
[legend]
Collaboration diagram for fst::TropicalWeightTpl< T >:
Collaboration graph
[legend]

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
 
constexpr FloatWeightTpl (T f)
 
 FloatWeightTpl (const FloatWeightTpl< T > &)=default
 
 FloatWeightTpl (FloatWeightTpl< T > &&) noexcept=default
 
FloatWeightTpl< T > & operator= (const FloatWeightTpl< T > &)=default
 
FloatWeightTpl< T > & operator= (FloatWeightTpl< T > &&) noexcept=default
 
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 string & Type ()
 
static constexpr uint64 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 const char * GetPrecisionString ()
 

Detailed Description

template<class T>
class fst::TropicalWeightTpl< T >

Definition at line 181 of file float-weight.h.

Member Typedef Documentation

template<class T>
using fst::TropicalWeightTpl< T >::Limits = FloatLimits<T>

Definition at line 186 of file float-weight.h.

template<class T>
using fst::TropicalWeightTpl< T >::ReverseWeight = TropicalWeightTpl<T>

Definition at line 185 of file float-weight.h.

Constructor & Destructor Documentation

template<class T>
fst::TropicalWeightTpl< T >::TropicalWeightTpl ( )
inlinenoexcept

Definition at line 188 of file float-weight.h.

template<class T>
constexpr fst::TropicalWeightTpl< T >::TropicalWeightTpl ( f)
inline

Definition at line 190 of file float-weight.h.

Member Function Documentation

template<class T>
constexpr bool fst::TropicalWeightTpl< T >::Member ( ) const
inline

Definition at line 207 of file float-weight.h.

template<class T>
static constexpr TropicalWeightTpl<T> fst::TropicalWeightTpl< T >::NoWeight ( )
inlinestatic

Definition at line 196 of file float-weight.h.

template<class T>
static constexpr TropicalWeightTpl<T> fst::TropicalWeightTpl< T >::One ( )
inlinestatic

Definition at line 194 of file float-weight.h.

template<class T>
static constexpr uint64 fst::TropicalWeightTpl< T >::Properties ( )
inlinestatic

Definition at line 238 of file float-weight.h.

template<class T>
TropicalWeightTpl<T> fst::TropicalWeightTpl< T >::Quantize ( float  delta = kDelta) const
inline

Definition at line 228 of file float-weight.h.

template<class T>
constexpr TropicalWeightTpl<T> fst::TropicalWeightTpl< T >::Reverse ( ) const
inline

Definition at line 236 of file float-weight.h.

template<class T>
static const string& fst::TropicalWeightTpl< T >::Type ( )
inlinestatic

Definition at line 200 of file float-weight.h.

template<class T>
static constexpr TropicalWeightTpl<T> fst::TropicalWeightTpl< T >::Zero ( )
inlinestatic

Definition at line 192 of file float-weight.h.


The documentation for this class was generated from the following file: