FST  openfst-1.8.3
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=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 MinMaxWeightTpl Zero ()
 
static constexpr MinMaxWeightTpl One ()
 
static constexpr MinMaxWeightTpl NoWeight ()
 
static const std::string & Type ()
 
static constexpr uint64_t 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 std::string_view GetPrecisionString ()
 

Detailed Description

template<class T>
class fst::MinMaxWeightTpl< T >

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

Member Typedef Documentation

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

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

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

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

Constructor & Destructor Documentation

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

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

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

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

Member Function Documentation

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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