Public Types | Public Member Functions | Static Public Member Functions

fst::AcceptorCompactor< A > Class Template Reference

Compactor for weighted acceptor FSTs. More...

#include <fst/compact-fst.h>

List of all members.

Public Types

typedef A Arc
typedef A::Label Label
typedef A::StateId StateId
typedef A::Weight Weight
typedef pair< pair< Label,
Weight >, StateId
Element

Public Member Functions

Element Compact (StateId s, const A &arc) const
Arc Expand (StateId s, const Element &p, uint32 f=kArcValueFlags) const
ssize_t Size () const
uint64 Properties () const
bool Compatible (const Fst< A > &fst) const
bool Write (ostream &strm) const

Static Public Member Functions

static const string & Type ()
static AcceptorCompactorRead (istream &strm)

Detailed Description

template<class A>
class fst::AcceptorCompactor< A >

Compactor for weighted acceptor FSTs.

Definition at line 1125 of file compact-fst.h.


Member Typedef Documentation

template<class A >
typedef A fst::AcceptorCompactor< A >::Arc

Definition at line 1127 of file compact-fst.h.

template<class A >
typedef pair< pair<Label, Weight>, StateId > fst::AcceptorCompactor< A >::Element

Definition at line 1131 of file compact-fst.h.

template<class A >
typedef A::Label fst::AcceptorCompactor< A >::Label

Definition at line 1128 of file compact-fst.h.

template<class A >
typedef A::StateId fst::AcceptorCompactor< A >::StateId

Definition at line 1129 of file compact-fst.h.

template<class A >
typedef A::Weight fst::AcceptorCompactor< A >::Weight

Definition at line 1130 of file compact-fst.h.


Member Function Documentation

template<class A >
Element fst::AcceptorCompactor< A >::Compact ( StateId  s,
const A &  arc 
) const [inline]

Definition at line 1133 of file compact-fst.h.

template<class A >
bool fst::AcceptorCompactor< A >::Compatible ( const Fst< A > &  fst  )  const [inline]

Definition at line 1147 of file compact-fst.h.

template<class A >
Arc fst::AcceptorCompactor< A >::Expand ( StateId  s,
const Element p,
uint32  f = kArcValueFlags 
) const [inline]

Definition at line 1137 of file compact-fst.h.

template<class A >
uint64 fst::AcceptorCompactor< A >::Properties (  )  const [inline]

Definition at line 1143 of file compact-fst.h.

template<class A >
static AcceptorCompactor* fst::AcceptorCompactor< A >::Read ( istream &  strm  )  [inline, static]

Definition at line 1159 of file compact-fst.h.

template<class A >
ssize_t fst::AcceptorCompactor< A >::Size (  )  const [inline]

Definition at line 1141 of file compact-fst.h.

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

Definition at line 1152 of file compact-fst.h.

template<class A >
bool fst::AcceptorCompactor< A >::Write ( ostream &  strm  )  const [inline]

Definition at line 1157 of file compact-fst.h.


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