Public Types | Public Member Functions | Static Public Member Functions

fst::PowerWeight< W, n > Class Template Reference

#include <fst/power-weight.h>

Inherits fst::TupleWeight< W, n >.

Collaboration diagram for fst::PowerWeight< W, n >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef PowerWeight< typename
W::ReverseWeight, n > 
ReverseWeight

Public Member Functions

 PowerWeight ()
 PowerWeight (const TupleWeight< W, n > &w)
template<class Iterator >
 PowerWeight (Iterator begin, Iterator end)
PowerWeight< W, n > Quantize (float delta=kDelta) const
ReverseWeight Reverse () const

Static Public Member Functions

static const PowerWeight< W, n > & Zero ()
static const PowerWeight< W, n > & One ()
static const string & Type ()
static uint64 Properties ()

Detailed Description

template<class W, unsigned int n>
class fst::PowerWeight< W, n >

Cartesian power semiring: W ^ n Forms:

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


Member Typedef Documentation

template<class W, unsigned int n>
typedef PowerWeight<typename W::ReverseWeight, n> fst::PowerWeight< W, n >::ReverseWeight

Reimplemented from fst::TupleWeight< W, n >.

Definition at line 45 of file power-weight.h.


Constructor & Destructor Documentation

template<class W, unsigned int n>
fst::PowerWeight< W, n >::PowerWeight (  )  [inline]

Definition at line 47 of file power-weight.h.

template<class W, unsigned int n>
fst::PowerWeight< W, n >::PowerWeight ( const TupleWeight< W, n > &  w  )  [inline]

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

template<class W, unsigned int n>
template<class Iterator >
fst::PowerWeight< W, n >::PowerWeight ( Iterator  begin,
Iterator  end 
) [inline]

Definition at line 52 of file power-weight.h.


Member Function Documentation

template<class W, unsigned int n>
static const PowerWeight<W, n>& fst::PowerWeight< W, n >::One (  )  [inline, static]

Reimplemented from fst::TupleWeight< W, n >.

Definition at line 59 of file power-weight.h.

template<class W, unsigned int n>
static uint64 fst::PowerWeight< W, n >::Properties (  )  [inline, static]

Definition at line 74 of file power-weight.h.

template<class W, unsigned int n>
PowerWeight<W, n> fst::PowerWeight< W, n >::Quantize ( float  delta = kDelta  )  const [inline]

Reimplemented from fst::TupleWeight< W, n >.

Definition at line 80 of file power-weight.h.

template<class W, unsigned int n>
ReverseWeight fst::PowerWeight< W, n >::Reverse (  )  const [inline]

Reimplemented from fst::TupleWeight< W, n >.

Definition at line 84 of file power-weight.h.

template<class W, unsigned int n>
static const string& fst::PowerWeight< W, n >::Type ( void   )  [inline, static]

Definition at line 64 of file power-weight.h.

template<class W, unsigned int n>
static const PowerWeight<W, n>& fst::PowerWeight< W, n >::Zero (  )  [inline, static]

Reimplemented from fst::TupleWeight< W, n >.

Definition at line 54 of file power-weight.h.


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