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

#include <connect.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 *props)
 
 SccVisitor (uint64 *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 96 of file connect.h.

Member Typedef Documentation

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

Definition at line 98 of file connect.h.

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

Definition at line 99 of file connect.h.

Constructor & Destructor Documentation

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

Definition at line 108 of file connect.h.

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

Definition at line 111 of file connect.h.

Member Function Documentation

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

Definition at line 120 of file connect.h.

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

Definition at line 227 of file connect.h.

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

Definition at line 146 of file connect.h.

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

Definition at line 133 of file connect.h.

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

Definition at line 202 of file connect.h.

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

Definition at line 179 of file connect.h.

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

Definition at line 118 of file connect.h.


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