FST  openfst-1.8.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::internal::RandGenVisitor< FromArc, ToArc > Class Template Reference

#include <randgen.h>

Public Types

using StateId = typename FromArc::StateId
 
using Weight = typename FromArc::Weight
 

Public Member Functions

 RandGenVisitor (MutableFst< ToArc > *ofst)
 
void InitVisit (const Fst< FromArc > &ifst)
 
constexpr bool InitState (StateId, StateId) const
 
bool TreeArc (StateId, const ToArc &arc)
 
bool BackArc (StateId, const FromArc &)
 
bool ForwardOrCrossArc (StateId, const FromArc &)
 
void FinishState (StateId s, StateId p, const FromArc *)
 
void FinishVisit ()
 

Detailed Description

template<class FromArc, class ToArc>
class fst::internal::RandGenVisitor< FromArc, ToArc >

Definition at line 678 of file randgen.h.

Member Typedef Documentation

template<class FromArc, class ToArc>
using fst::internal::RandGenVisitor< FromArc, ToArc >::StateId = typename FromArc::StateId

Definition at line 680 of file randgen.h.

template<class FromArc, class ToArc>
using fst::internal::RandGenVisitor< FromArc, ToArc >::Weight = typename FromArc::Weight

Definition at line 681 of file randgen.h.

Constructor & Destructor Documentation

template<class FromArc, class ToArc>
fst::internal::RandGenVisitor< FromArc, ToArc >::RandGenVisitor ( MutableFst< ToArc > *  ofst)
inlineexplicit

Definition at line 683 of file randgen.h.

Member Function Documentation

template<class FromArc, class ToArc>
bool fst::internal::RandGenVisitor< FromArc, ToArc >::BackArc ( StateId  ,
const FromArc &   
)
inline

Definition at line 705 of file randgen.h.

template<class FromArc, class ToArc>
void fst::internal::RandGenVisitor< FromArc, ToArc >::FinishState ( StateId  s,
StateId  p,
const FromArc *   
)
inline

Definition at line 716 of file randgen.h.

template<class FromArc, class ToArc>
void fst::internal::RandGenVisitor< FromArc, ToArc >::FinishVisit ( )
inline

Definition at line 720 of file randgen.h.

template<class FromArc, class ToArc>
bool fst::internal::RandGenVisitor< FromArc, ToArc >::ForwardOrCrossArc ( StateId  ,
const FromArc &   
)
inline

Definition at line 711 of file randgen.h.

template<class FromArc, class ToArc>
constexpr bool fst::internal::RandGenVisitor< FromArc, ToArc >::InitState ( StateId  ,
StateId   
) const
inline

Definition at line 694 of file randgen.h.

template<class FromArc, class ToArc>
void fst::internal::RandGenVisitor< FromArc, ToArc >::InitVisit ( const Fst< FromArc > &  ifst)
inline

Definition at line 685 of file randgen.h.

template<class FromArc, class ToArc>
bool fst::internal::RandGenVisitor< FromArc, ToArc >::TreeArc ( StateId  ,
const ToArc &  arc 
)
inline

Definition at line 696 of file randgen.h.


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