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

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

Static Public Member Functions

static const LexicographicWeightZero ()
static const LexicographicWeightOne ()
static const LexicographicWeightNoWeight ()
static const string & Type ()
static constexpr uint64 Properties ()

Detailed Description

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

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


Constructor & Destructor Documentation

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

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

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

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

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

Definition at line 49 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& fst::LexicographicWeight< W1, W2 >::NoWeight (  )  [inline, static]

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

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

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

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

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

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

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

template<class W1, class W2>
LexicographicWeight 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 (  )  [inline, static]

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

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

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

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