Public Types | 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 Types

typedef LogWeightTpl ReverseWeight

Public Member Functions

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

Static Public Member Functions

static const LogWeightTpl< T > Zero ()
static const LogWeightTpl< T > One ()
static const string & Type ()
static uint64 Properties ()

Detailed Description

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

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

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


Member Typedef Documentation

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

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


Constructor & Destructor Documentation

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

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

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

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

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

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


Member Function Documentation

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

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

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

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

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

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

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

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

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

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

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

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

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

Definition at line 308 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