Public Types | Public Member Functions | Static Public Member Functions

fst::SignedLogWeightTpl< T > Class Template Reference

#include <fst/signed-log-weight.h>

Inherits PairWeight< TropicalWeight, LogWeightTpl< T > >.

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

List of all members.

Public Types

typedef TropicalWeight X1
typedef LogWeightTpl< T > X2
typedef SignedLogWeightTpl< T > ReverseWeight

Public Member Functions

 SignedLogWeightTpl ()
 SignedLogWeightTpl (const SignedLogWeightTpl< T > &w)
 SignedLogWeightTpl (const PairWeight< X1, X2 > &w)
 SignedLogWeightTpl (const X1 &x1, const X2 &x2)
ProductWeight< X1, X2Quantize (float delta=kDelta) const
ReverseWeight Reverse () const
bool Member () const
size_t Hash () const

Static Public Member Functions

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

Detailed Description

template<class T>
class fst::SignedLogWeightTpl< T >

Definition at line 31 of file signed-log-weight.h.


Member Typedef Documentation

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

Reimplemented from fst::PairWeight< TropicalWeight, LogWeightTpl< T > >.

Definition at line 43 of file signed-log-weight.h.

template<class T>
typedef TropicalWeight fst::SignedLogWeightTpl< T >::X1

Definition at line 34 of file signed-log-weight.h.

template<class T>
typedef LogWeightTpl<T> fst::SignedLogWeightTpl< T >::X2

Definition at line 35 of file signed-log-weight.h.


Constructor & Destructor Documentation

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

Definition at line 45 of file signed-log-weight.h.

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

Definition at line 47 of file signed-log-weight.h.

template<class T>
fst::SignedLogWeightTpl< T >::SignedLogWeightTpl ( const PairWeight< X1, X2 > &  w  )  [inline]

Definition at line 50 of file signed-log-weight.h.

template<class T>
fst::SignedLogWeightTpl< T >::SignedLogWeightTpl ( const X1 x1,
const X2 x2 
) [inline]

Definition at line 53 of file signed-log-weight.h.


Member Function Documentation

template<class T>
size_t fst::SignedLogWeightTpl< T >::Hash (  )  const [inline]

Reimplemented from fst::PairWeight< TropicalWeight, LogWeightTpl< T > >.

Definition at line 88 of file signed-log-weight.h.

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

Reimplemented from fst::PairWeight< TropicalWeight, LogWeightTpl< T > >.

Definition at line 79 of file signed-log-weight.h.

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

Reimplemented from fst::PairWeight< TropicalWeight, LogWeightTpl< T > >.

Definition at line 61 of file signed-log-weight.h.

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

Definition at line 83 of file signed-log-weight.h.

template<class T>
ProductWeight<X1, X2> fst::SignedLogWeightTpl< T >::Quantize ( float  delta = kDelta  )  const [inline]

Reimplemented from fst::PairWeight< TropicalWeight, LogWeightTpl< T > >.

Definition at line 71 of file signed-log-weight.h.

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

Reimplemented from fst::PairWeight< TropicalWeight, LogWeightTpl< T > >.

Definition at line 75 of file signed-log-weight.h.

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

Definition at line 66 of file signed-log-weight.h.

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

Reimplemented from fst::PairWeight< TropicalWeight, LogWeightTpl< T > >.

Definition at line 56 of file signed-log-weight.h.


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