FST  openfst-1.7.1
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 31 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 37 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 39 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 38 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 33 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 34 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 35 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 41 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 83 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 108 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 95 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 106 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 89 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 53 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 51 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 81 of file state-reachable.h.


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