FST  openfst-1.7.1
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 () noexcept
 
constexpr MinMaxWeightTpl (T f)
 
constexpr bool Member () const
 
MinMaxWeightTpl< T > Quantize (float delta=kDelta) const
 
constexpr MinMaxWeightTpl< 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 MinMaxWeightTpl Zero ()
 
static constexpr MinMaxWeightTpl One ()
 
static constexpr MinMaxWeightTpl 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::MinMaxWeightTpl< T >

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

Member Typedef Documentation

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

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

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

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

Constructor & Destructor Documentation

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

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

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

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

Member Function Documentation

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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