FST  openfst-1.8.3
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 139 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 145 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 147 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 146 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 141 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 142 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 143 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 149 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 157 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 185 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 183 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 167 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 164 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 179 of file state-reachable.h.


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