Public Types | Public Member Functions | Static Public Member Functions

fst::TropicalWeightTpl< T > Class Template Reference

Tropical semiring: (min, +, inf, 0). More...

#include <fst/float-weight.h>

Inherits fst::FloatWeightTpl< T >.

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

List of all members.

Public Types

typedef TropicalWeightTpl< T > ReverseWeight

Public Member Functions

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

Static Public Member Functions

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

Detailed Description

template<class T>
class fst::TropicalWeightTpl< T >

Tropical semiring: (min, +, inf, 0).

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


Member Typedef Documentation

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

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


Constructor & Destructor Documentation

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

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

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

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

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

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


Member Function Documentation

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

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

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

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

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

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

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

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

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

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

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

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

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

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