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

#include <state-reachable.h>

Public Types

using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 
using Index = I
 
using ISet = S
 
using Interval = typename ISet::Interval
 

Public Member Functions

 IntervalReachVisitor (const Fst< Arc > &fst, std::vector< S > *isets, std::vector< Index > *state2index)
 
void InitVisit (const Fst< Arc > &)
 
bool InitState (StateId s, StateId r)
 
constexpr bool TreeArc (StateId, const Arc &) const
 
bool BackArc (StateId s, const Arc &arc)
 
bool ForwardOrCrossArc (StateId s, const Arc &arc)
 
void FinishState (StateId s, StateId p, const Arc *)
 
void FinishVisit ()
 
bool Error () const
 

Detailed Description

template<class Arc, class I = typename Arc::StateId, class S = IntervalSet<I>>
class fst::IntervalReachVisitor< Arc, I, S >

Definition at line 47 of file state-reachable.h.

Member Typedef Documentation

template<class Arc, class I = typename Arc::StateId, class S = IntervalSet<I>>
using fst::IntervalReachVisitor< Arc, I, S >::Index = I

Definition at line 53 of file state-reachable.h.

template<class Arc, class I = typename Arc::StateId, class S = IntervalSet<I>>
using fst::IntervalReachVisitor< Arc, I, S >::Interval = typename ISet::Interval

Definition at line 55 of file state-reachable.h.

template<class Arc, class I = typename Arc::StateId, class S = IntervalSet<I>>
using fst::IntervalReachVisitor< Arc, I, S >::ISet = S

Definition at line 54 of file state-reachable.h.

template<class Arc, class I = typename Arc::StateId, class S = IntervalSet<I>>
using fst::IntervalReachVisitor< Arc, I, S >::Label = typename Arc::Label

Definition at line 49 of file state-reachable.h.

template<class Arc, class I = typename Arc::StateId, class S = IntervalSet<I>>
using fst::IntervalReachVisitor< Arc, I, S >::StateId = typename Arc::StateId

Definition at line 50 of file state-reachable.h.

template<class Arc, class I = typename Arc::StateId, class S = IntervalSet<I>>
using fst::IntervalReachVisitor< Arc, I, S >::Weight = typename Arc::Weight

Definition at line 51 of file state-reachable.h.

Constructor & Destructor Documentation

template<class Arc, class I = typename Arc::StateId, class S = IntervalSet<I>>
fst::IntervalReachVisitor< Arc, I, S >::IntervalReachVisitor ( const Fst< Arc > &  fst,
std::vector< S > *  isets,
std::vector< Index > *  state2index 
)
inline

Definition at line 57 of file state-reachable.h.

Member Function Documentation

template<class Arc, class I = typename Arc::StateId, class S = IntervalSet<I>>
bool fst::IntervalReachVisitor< Arc, I, S >::BackArc ( StateId  s,
const Arc &  arc 
)
inline

Definition at line 99 of file state-reachable.h.

template<class Arc, class I = typename Arc::StateId, class S = IntervalSet<I>>
bool fst::IntervalReachVisitor< Arc, I, S >::Error ( ) const
inline

Definition at line 124 of file state-reachable.h.

template<class Arc, class I = typename Arc::StateId, class S = IntervalSet<I>>
void fst::IntervalReachVisitor< Arc, I, S >::FinishState ( StateId  s,
StateId  p,
const Arc *   
)
inline

Definition at line 111 of file state-reachable.h.

template<class Arc, class I = typename Arc::StateId, class S = IntervalSet<I>>
void fst::IntervalReachVisitor< Arc, I, S >::FinishVisit ( )
inline

Definition at line 122 of file state-reachable.h.

template<class Arc, class I = typename Arc::StateId, class S = IntervalSet<I>>
bool fst::IntervalReachVisitor< Arc, I, S >::ForwardOrCrossArc ( StateId  s,
const Arc &  arc 
)
inline

Definition at line 105 of file state-reachable.h.

template<class Arc, class I = typename Arc::StateId, class S = IntervalSet<I>>
bool fst::IntervalReachVisitor< Arc, I, S >::InitState ( StateId  s,
StateId  r 
)
inline

Definition at line 69 of file state-reachable.h.

template<class Arc, class I = typename Arc::StateId, class S = IntervalSet<I>>
void fst::IntervalReachVisitor< Arc, I, S >::InitVisit ( const Fst< Arc > &  )
inline

Definition at line 67 of file state-reachable.h.

template<class Arc, class I = typename Arc::StateId, class S = IntervalSet<I>>
constexpr bool fst::IntervalReachVisitor< Arc, I, S >::TreeArc ( StateId  ,
const Arc &   
) const
inline

Definition at line 97 of file state-reachable.h.


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