FST  openfst-1.7.2
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::RandMod< Arc, G > Class Template Reference

#include <randmod.h>

Public Types

typedef Arc::StateId StateId
 
typedef Arc::Label Label
 
typedef Arc::Weight Weight
 

Public Member Functions

 RandMod (StateId nstates, StateId nclasses, Label nlabels, bool trans, const G *generate)
 
void Generate (StdMutableFst *fst)
 

Detailed Description

template<class Arc, class G>
class fst::RandMod< Arc, G >

Definition at line 18 of file randmod.h.

Member Typedef Documentation

template<class Arc , class G >
typedef Arc::Label fst::RandMod< Arc, G >::Label

Definition at line 21 of file randmod.h.

template<class Arc , class G >
typedef Arc::StateId fst::RandMod< Arc, G >::StateId

Definition at line 20 of file randmod.h.

template<class Arc , class G >
typedef Arc::Weight fst::RandMod< Arc, G >::Weight

Definition at line 22 of file randmod.h.

Constructor & Destructor Documentation

template<class Arc , class G >
fst::RandMod< Arc, G >::RandMod ( StateId  nstates,
StateId  nclasses,
Label  nlabels,
bool  trans,
const G *  generate 
)
inline

Definition at line 28 of file randmod.h.

Member Function Documentation

template<class Arc , class G >
void fst::RandMod< Arc, G >::Generate ( StdMutableFst fst)
inline

Definition at line 41 of file randmod.h.


The documentation for this class was generated from the following file: