FST  openfst-1.8.3
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=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 LogWeightTpl Zero ()
 
static constexpr LogWeightTpl One ()
 
static constexpr LogWeightTpl 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::LogWeightTpl< T >

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

Member Typedef Documentation

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

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

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

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

Constructor & Destructor Documentation

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

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

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

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

Member Function Documentation

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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