Public Types | Public Member Functions

fst::CopyVisitor< A > Class Template Reference

Copies input FST to mutable FST following queue order. More...

#include <fst/visit.h>

Collaboration diagram for fst::CopyVisitor< A >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef A Arc
typedef A::StateId StateId

Public Member Functions

 CopyVisitor (MutableFst< Arc > *ofst)
void InitVisit (const Fst< A > &ifst)
bool InitState (StateId s, StateId)
bool WhiteArc (StateId s, const Arc &arc)
bool GreyArc (StateId s, const Arc &arc)
bool BlackArc (StateId s, const Arc &arc)
void FinishState (StateId s)
void FinishVisit ()

Detailed Description

template<class A>
class fst::CopyVisitor< A >

Copies input FST to mutable FST following queue order.

Definition at line 192 of file visit.h.


Member Typedef Documentation

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

Definition at line 194 of file visit.h.

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

Definition at line 195 of file visit.h.


Constructor & Destructor Documentation

template<class A >
fst::CopyVisitor< A >::CopyVisitor ( MutableFst< Arc > *  ofst  )  [inline]

Definition at line 197 of file visit.h.


Member Function Documentation

template<class A >
bool fst::CopyVisitor< A >::BlackArc ( StateId  s,
const Arc arc 
) [inline]

Definition at line 221 of file visit.h.

template<class A >
void fst::CopyVisitor< A >::FinishState ( StateId  s  )  [inline]

Definition at line 226 of file visit.h.

template<class A >
void fst::CopyVisitor< A >::FinishVisit (  )  [inline]

Definition at line 230 of file visit.h.

template<class A >
bool fst::CopyVisitor< A >::GreyArc ( StateId  s,
const Arc arc 
) [inline]

Definition at line 216 of file visit.h.

template<class A >
bool fst::CopyVisitor< A >::InitState ( StateId  s,
StateId   
) [inline]

Definition at line 205 of file visit.h.

template<class A >
void fst::CopyVisitor< A >::InitVisit ( const Fst< A > &  ifst  )  [inline]

Definition at line 199 of file visit.h.

template<class A >
bool fst::CopyVisitor< A >::WhiteArc ( StateId  s,
const Arc arc 
) [inline]

Definition at line 211 of file visit.h.


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