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

#include <float-weight.h>

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

Public Types

using ReverseWeight = LogWeightTpl
 
using Limits = FloatLimits< T >
 
- Public Types inherited from fst::FloatWeightTpl< T >
using ValueType = T
 

Public Member Functions

constexpr LogWeightTpl ()
 
constexpr LogWeightTpl (T f)
 
constexpr LogWeightTpl (const LogWeightTpl< T > &weight)
 
bool Member () const
 
LogWeightTpl< T > Quantize (float delta=kDelta) const
 
LogWeightTpl< T > Reverse () const
 
- Public Member Functions inherited from fst::FloatWeightTpl< T >
 FloatWeightTpl ()
 
 FloatWeightTpl (T f)
 
 FloatWeightTpl (const FloatWeightTpl< T > &weight)
 
FloatWeightTpl< T > & operator= (const FloatWeightTpl< T > &weight)
 
std::istream & Read (std::istream &strm)
 
std::ostream & Write (std::ostream &strm) const
 
size_t Hash () const
 
const T & Value () const
 

Static Public Member Functions

static const LogWeightTplZero ()
 
static const LogWeightTplOne ()
 
static const LogWeightTplNoWeight ()
 
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::LogWeightTpl< T >

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

Member Typedef Documentation

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

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

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

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

Constructor & Destructor Documentation

template<class T>
constexpr fst::LogWeightTpl< T >::LogWeightTpl ( )
inline

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

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

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

template<class T>
constexpr fst::LogWeightTpl< T >::LogWeightTpl ( const LogWeightTpl< T > &  weight)
inline

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

Member Function Documentation

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

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

template<class T>
static const LogWeightTpl& fst::LogWeightTpl< T >::NoWeight ( )
inlinestatic

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

template<class T>
static const LogWeightTpl& fst::LogWeightTpl< T >::One ( )
inlinestatic

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

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

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

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

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

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

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

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

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

template<class T>
static const LogWeightTpl& fst::LogWeightTpl< T >::Zero ( )
inlinestatic

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


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