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

#include <cc-visitors.h>

Public Types

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

Public Member Functions

 SccVisitor (std::vector< StateId > *scc, std::vector< bool > *access, std::vector< bool > *coaccess, uint64_t *props)
 
 SccVisitor (uint64_t *props)
 
void InitVisit (const Fst< Arc > &fst)
 
bool InitState (StateId s, StateId root)
 
bool TreeArc (StateId s, const Arc &arc)
 
bool BackArc (StateId s, const Arc &arc)
 
bool ForwardOrCrossArc (StateId s, const Arc &arc)
 
void FinishState (StateId state, StateId p, const Arc *)
 
void FinishVisit ()
 

Detailed Description

template<class Arc>
class fst::SccVisitor< Arc >

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

Member Typedef Documentation

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

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

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

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

Constructor & Destructor Documentation

template<class Arc>
fst::SccVisitor< Arc >::SccVisitor ( std::vector< StateId > *  scc,
std::vector< bool > *  access,
std::vector< bool > *  coaccess,
uint64_t *  props 
)
inline

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

template<class Arc>
fst::SccVisitor< Arc >::SccVisitor ( uint64_t *  props)
inlineexplicit

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

Member Function Documentation

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

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

template<class Arc >
void fst::SccVisitor< Arc >::FinishState ( StateId  state,
StateId  p,
const Arc *   
)
inline

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

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

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

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

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

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

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

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

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

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

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


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