FST  openfst-1.7.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::PartialCopyVisitor< A > Class Template Reference

#include <visit.h>

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

Public Types

using Arc = A
 
using StateId = typename Arc::StateId
 
- Public Types inherited from fst::CopyVisitor< A >
using Arc = A
 
using StateId = typename Arc::StateId
 

Public Member Functions

 PartialCopyVisitor (MutableFst< Arc > *ofst, StateId maxvisit, bool copy_grey=true, bool copy_black=true)
 
void InitVisit (const Fst< A > &ifst)
 
bool InitState (StateId state, StateId root)
 
bool GreyArc (StateId state, const Arc &arc)
 
bool BlackArc (StateId state, const Arc &arc)
 
void FinishState (StateId state)
 
void FinishVisit ()
 
StateId NumInitialized ()
 
StateId NumFinished ()
 
- Public Member Functions inherited from fst::CopyVisitor< A >
 CopyVisitor (MutableFst< Arc > *ofst)
 
void InitVisit (const Fst< A > &ifst)
 
bool InitState (StateId state, StateId)
 
bool WhiteArc (StateId state, const Arc &arc)
 
bool GreyArc (StateId state, const Arc &arc)
 
bool BlackArc (StateId state, const Arc &arc)
 
void FinishState (StateId state)
 
void FinishVisit ()
 

Detailed Description

template<class A>
class fst::PartialCopyVisitor< A >

Definition at line 266 of file visit.h.

Member Typedef Documentation

template<class A >
using fst::PartialCopyVisitor< A >::Arc = A

Definition at line 268 of file visit.h.

template<class A >
using fst::PartialCopyVisitor< A >::StateId = typename Arc::StateId

Definition at line 269 of file visit.h.

Constructor & Destructor Documentation

template<class A >
fst::PartialCopyVisitor< A >::PartialCopyVisitor ( MutableFst< Arc > *  ofst,
StateId  maxvisit,
bool  copy_grey = true,
bool  copy_black = true 
)
inline

Definition at line 273 of file visit.h.

Member Function Documentation

template<class A >
bool fst::PartialCopyVisitor< A >::BlackArc ( StateId  state,
const Arc arc 
)
inline

Definition at line 295 of file visit.h.

template<class A >
void fst::PartialCopyVisitor< A >::FinishState ( StateId  state)
inline

Definition at line 300 of file visit.h.

template<class A >
void fst::PartialCopyVisitor< A >::FinishVisit ( )
inline

Definition at line 305 of file visit.h.

template<class A >
bool fst::PartialCopyVisitor< A >::GreyArc ( StateId  state,
const Arc arc 
)
inline

Definition at line 290 of file visit.h.

template<class A >
bool fst::PartialCopyVisitor< A >::InitState ( StateId  state,
StateId  root 
)
inline

Definition at line 284 of file visit.h.

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

Definition at line 278 of file visit.h.

template<class A >
StateId fst::PartialCopyVisitor< A >::NumFinished ( )
inline

Definition at line 309 of file visit.h.

template<class A >
StateId fst::PartialCopyVisitor< A >::NumInitialized ( )
inline

Definition at line 307 of file visit.h.


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