Public Member Functions | Static Public Member Functions

fst::LogWeightTpl< T > Class Template Reference

Log semiring: (log(e^-x + e^-y), +, inf, 0). More...

#include <fst/float-weight.h>

Inherits fst::FloatWeightTpl< T >.

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

List of all members.

Public Member Functions

constexpr LogWeightTpl ()
constexpr LogWeightTpl (T f)
constexpr LogWeightTpl (const LogWeightTpl< T > &weight)
bool Member () const
LogWeightTpl< T > Quantize (float delta=kDelta) const
LogWeightTpl< T > Reverse () const

Static Public Member Functions

static const LogWeightTplZero ()
static const LogWeightTplOne ()
static const LogWeightTplNoWeight ()
static const string & Type ()
static constexpr uint64 Properties ()

Detailed Description

template<class T>
class fst::LogWeightTpl< T >

Log semiring: (log(e^-x + e^-y), +, inf, 0).

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


Constructor & Destructor Documentation

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

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

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

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

template<class T>
constexpr fst::LogWeightTpl< T >::LogWeightTpl ( const LogWeightTpl< T > &  weight  )  [inline]

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


Member Function Documentation

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

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

template<class T>
static const LogWeightTpl& fst::LogWeightTpl< T >::NoWeight (  )  [inline, static]

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

template<class T>
static const LogWeightTpl& fst::LogWeightTpl< T >::One (  )  [inline, static]

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

template<class T>
static constexpr uint64 fst::LogWeightTpl< T >::Properties (  )  [inline, static]

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

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

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

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

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

template<class T>
static const string& fst::LogWeightTpl< T >::Type (  )  [inline, static]

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

template<class T>
static const LogWeightTpl& fst::LogWeightTpl< T >::Zero (  )  [inline, static]

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


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines