FST  openfst-1.7.2
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 657 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 659 of file randgen.h.

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

Definition at line 660 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 662 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 684 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 695 of file randgen.h.

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

Definition at line 699 of file randgen.h.

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

Definition at line 690 of file randgen.h.

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

Definition at line 673 of file randgen.h.

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

Definition at line 664 of file randgen.h.

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

Definition at line 675 of file randgen.h.


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