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

#include <connect.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 22 of file connect.h.

Member Typedef Documentation

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

Definition at line 25 of file connect.h.

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

Definition at line 24 of file connect.h.

Constructor & Destructor Documentation

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

Definition at line 28 of file connect.h.

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

Definition at line 32 of file connect.h.

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

Definition at line 35 of file connect.h.

Member Function Documentation

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

Definition at line 58 of file connect.h.

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

Definition at line 63 of file connect.h.

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

Definition at line 65 of file connect.h.

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

Definition at line 71 of file connect.h.

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

Definition at line 53 of file connect.h.

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

Definition at line 41 of file connect.h.

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

Definition at line 39 of file connect.h.

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

Definition at line 47 of file connect.h.


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