Public Types | Public Member Functions | Static Public Member Functions

fst::LexicographicWeight< W1, W2 > Class Template Reference

#include <fst/lexicographic-weight.h>

Inherits fst::PairWeight< W1, W2 >.

Collaboration diagram for fst::LexicographicWeight< W1, W2 >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef LexicographicWeight
< typename W1::ReverseWeight,
typename W2::ReverseWeight > 
ReverseWeight

Public Member Functions

 LexicographicWeight ()
 LexicographicWeight (const PairWeight< W1, W2 > &w)
 LexicographicWeight (W1 w1, W2 w2)
bool Member () const
LexicographicWeight< W1, W2 > Quantize (float delta=kDelta) const
ReverseWeight Reverse () const

Static Public Member Functions

static const
LexicographicWeight< W1, W2 > & 
Zero ()
static const
LexicographicWeight< W1, W2 > & 
One ()
static const string & Type ()
static uint64 Properties ()

Detailed Description

template<class W1, class W2>
class fst::LexicographicWeight< W1, W2 >

Definition at line 38 of file lexicographic-weight.h.


Member Typedef Documentation

template<class W1, class W2>
typedef LexicographicWeight<typename W1::ReverseWeight, typename W2::ReverseWeight> fst::LexicographicWeight< W1, W2 >::ReverseWeight

Reimplemented from fst::PairWeight< W1, W2 >.

Definition at line 49 of file lexicographic-weight.h.


Constructor & Destructor Documentation

template<class W1, class W2>
fst::LexicographicWeight< W1, W2 >::LexicographicWeight (  )  [inline]

Definition at line 51 of file lexicographic-weight.h.

template<class W1, class W2>
fst::LexicographicWeight< W1, W2 >::LexicographicWeight ( const PairWeight< W1, W2 > &  w  )  [inline]

Definition at line 53 of file lexicographic-weight.h.

template<class W1, class W2>
fst::LexicographicWeight< W1, W2 >::LexicographicWeight ( W1  w1,
W2  w2 
) [inline]

Definition at line 56 of file lexicographic-weight.h.


Member Function Documentation

template<class W1, class W2>
bool fst::LexicographicWeight< W1, W2 >::Member (  )  const [inline]

Reimplemented from fst::PairWeight< W1, W2 >.

Definition at line 83 of file lexicographic-weight.h.

template<class W1, class W2>
static const LexicographicWeight<W1, W2>& fst::LexicographicWeight< W1, W2 >::One (  )  [inline, static]

Reimplemented from fst::PairWeight< W1, W2 >.

Definition at line 73 of file lexicographic-weight.h.

template<class W1, class W2>
static uint64 fst::LexicographicWeight< W1, W2 >::Properties (  )  [inline, static]

Definition at line 99 of file lexicographic-weight.h.

template<class W1, class W2>
LexicographicWeight<W1, W2> fst::LexicographicWeight< W1, W2 >::Quantize ( float  delta = kDelta  )  const [inline]

Reimplemented from fst::PairWeight< W1, W2 >.

Definition at line 91 of file lexicographic-weight.h.

template<class W1, class W2>
ReverseWeight fst::LexicographicWeight< W1, W2 >::Reverse (  )  const [inline]

Reimplemented from fst::PairWeight< W1, W2 >.

Definition at line 95 of file lexicographic-weight.h.

template<class W1, class W2>
static const string& fst::LexicographicWeight< W1, W2 >::Type ( void   )  [inline, static]

Definition at line 78 of file lexicographic-weight.h.

template<class W1, class W2>
static const LexicographicWeight<W1, W2>& fst::LexicographicWeight< W1, W2 >::Zero (  )  [inline, static]

Reimplemented from fst::PairWeight< W1, W2 >.

Definition at line 68 of file lexicographic-weight.h.


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