FST  openfst-1.7.1
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::StateReachable< 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

 StateReachable (const Fst< Arc > &fst)
 
 StateReachable (const StateReachable< Arc > &reachable)
 
void SetState (StateId s)
 
bool Reach (StateId s)
 
std::vector< Index > & State2Index ()
 
const std::vector< ISet > & IntervalSets ()
 
bool Error () const
 

Detailed Description

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

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

Member Typedef Documentation

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

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

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

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

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

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

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

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

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

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

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

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

Constructor & Destructor Documentation

template<class Arc, class I = typename Arc::StateId, class S = IntervalSet<I>>
fst::StateReachable< Arc, I, S >::StateReachable ( const Fst< Arc > &  fst)
inlineexplicit

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

template<class Arc, class I = typename Arc::StateId, class S = IntervalSet<I>>
fst::StateReachable< Arc, I, S >::StateReachable ( const StateReachable< Arc > &  reachable)
inlineexplicit

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

Member Function Documentation

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

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

template<class Arc, class I = typename Arc::StateId, class S = IntervalSet<I>>
const std::vector<ISet>& fst::StateReachable< Arc, I, S >::IntervalSets ( )
inline

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

template<class Arc, class I = typename Arc::StateId, class S = IntervalSet<I>>
bool fst::StateReachable< Arc, I, S >::Reach ( StateId  s)
inline

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

template<class Arc, class I = typename Arc::StateId, class S = IntervalSet<I>>
void fst::StateReachable< Arc, I, S >::SetState ( StateId  s)
inline

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

template<class Arc, class I = typename Arc::StateId, class S = IntervalSet<I>>
std::vector<Index>& fst::StateReachable< Arc, I, S >::State2Index ( )
inline

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


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