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

#include <float-weight.h>

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

Public Types

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

Public Member Functions

 MinMaxWeightTpl ()
 
 MinMaxWeightTpl (T f)
 
 MinMaxWeightTpl (const MinMaxWeightTpl< T > &weight)
 
bool Member () const
 
MinMaxWeightTpl< T > Quantize (float delta=kDelta) const
 
MinMaxWeightTpl< 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 MinMaxWeightTplZero ()
 
static const MinMaxWeightTplOne ()
 
static const MinMaxWeightTplNoWeight ()
 
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::MinMaxWeightTpl< T >

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

Member Typedef Documentation

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

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

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

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

Constructor & Destructor Documentation

template<class T>
fst::MinMaxWeightTpl< T >::MinMaxWeightTpl ( )
inline

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

template<class T>
fst::MinMaxWeightTpl< T >::MinMaxWeightTpl ( f)
inline

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

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

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

Member Function Documentation

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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