FST  openfst-1.8.1
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

 LogWeightTpl () noexcept
 
constexpr LogWeightTpl (T f)
 
constexpr bool Member () const
 
LogWeightTpl< T > Quantize (float delta=kDelta) const
 
constexpr LogWeightTpl< T > Reverse () const
 
- Public Member Functions inherited from fst::FloatWeightTpl< T >
 FloatWeightTpl () noexcept
 
constexpr FloatWeightTpl (T f)
 
 FloatWeightTpl (const FloatWeightTpl &)=default
 
 FloatWeightTpl (FloatWeightTpl &&) noexcept=default
 
FloatWeightTploperator= (const FloatWeightTpl &)=default
 
FloatWeightTploperator= (FloatWeightTpl &&) 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 LogWeightTpl Zero ()
 
static constexpr LogWeightTpl One ()
 
static constexpr LogWeightTpl NoWeight ()
 
static const std::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 417 of file float-weight.h.

Member Typedef Documentation

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

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

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

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

Constructor & Destructor Documentation

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

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

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

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

Member Function Documentation

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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