FST  openfst-1.8.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::CcVisitor< Arc > Class Template Reference

#include <cc-visitors.h>

Public Types

using Weight = typename Arc::Weight
 
using StateId = typename Arc::StateId
 

Public Member Functions

 CcVisitor (std::vector< StateId > *cc)
 
 CcVisitor (UnionFind< StateId > *comps)
 
 ~CcVisitor ()
 
void InitVisit (const Fst< Arc > &fst)
 
bool InitState (StateId s, StateId root)
 
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 ()
 
int GetCcVector (std::vector< StateId > *cc)
 

Detailed Description

template<class Arc>
class fst::CcVisitor< Arc >

Definition at line 33 of file cc-visitors.h.

Member Typedef Documentation

template<class Arc>
using fst::CcVisitor< Arc >::StateId = typename Arc::StateId

Definition at line 36 of file cc-visitors.h.

template<class Arc>
using fst::CcVisitor< Arc >::Weight = typename Arc::Weight

Definition at line 35 of file cc-visitors.h.

Constructor & Destructor Documentation

template<class Arc>
fst::CcVisitor< Arc >::CcVisitor ( std::vector< StateId > *  cc)
inlineexplicit

Definition at line 39 of file cc-visitors.h.

template<class Arc>
fst::CcVisitor< Arc >::CcVisitor ( UnionFind< StateId > *  comps)
inlineexplicit

Definition at line 43 of file cc-visitors.h.

template<class Arc>
fst::CcVisitor< Arc >::~CcVisitor ( )
inline

Definition at line 46 of file cc-visitors.h.

Member Function Documentation

template<class Arc>
bool fst::CcVisitor< Arc >::BlackArc ( StateId  s,
const Arc &  arc 
)
inline

Definition at line 69 of file cc-visitors.h.

template<class Arc>
void fst::CcVisitor< Arc >::FinishState ( StateId  s)
inline

Definition at line 74 of file cc-visitors.h.

template<class Arc>
void fst::CcVisitor< Arc >::FinishVisit ( )
inline

Definition at line 76 of file cc-visitors.h.

template<class Arc>
int fst::CcVisitor< Arc >::GetCcVector ( std::vector< StateId > *  cc)
inline

Definition at line 82 of file cc-visitors.h.

template<class Arc>
bool fst::CcVisitor< Arc >::GreyArc ( StateId  s,
const Arc &  arc 
)
inline

Definition at line 64 of file cc-visitors.h.

template<class Arc>
bool fst::CcVisitor< Arc >::InitState ( StateId  s,
StateId  root 
)
inline

Definition at line 52 of file cc-visitors.h.

template<class Arc>
void fst::CcVisitor< Arc >::InitVisit ( const Fst< Arc > &  fst)
inline

Definition at line 50 of file cc-visitors.h.

template<class Arc>
bool fst::CcVisitor< Arc >::WhiteArc ( StateId  s,
const Arc &  arc 
)
inline

Definition at line 58 of file cc-visitors.h.


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