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 Member Functions

constexpr TropicalWeightTpl ()
constexpr TropicalWeightTpl (T f)
constexpr TropicalWeightTpl (const TropicalWeightTpl< T > &weight)
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 TropicalWeightTpl
< T > & 
NoWeight ()
static const string & Type ()
static constexpr uint64 Properties ()

Detailed Description

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

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

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


Constructor & Destructor Documentation

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

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

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

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

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

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


Member Function Documentation

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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