GRM-SFST  sfst-1.2.1
OpenGrm SFst Library
Public Types | Public Member Functions | List of all members
sfst::FailurePath< Arc > Class Template Reference

#include <sfst.h>

Public Types

typedef Arc::StateId StateId
 
typedef Arc::Label Label
 
typedef Arc::Weight Weight
 
typedef fst::ExplicitMatcher< fst::SortedMatcher< fst::Fst< Arc > > > Matr
 

Public Member Functions

 FailurePath (const fst::Fst< Arc > &fst, Label phi_label, bool match_input)
 
void SetState (StateId s)
 
size_t Length () const
 
StateId GetNextState (size_t i) const
 
Weight GetWeight (size_t i) const
 
size_t GetPosition (size_t i) const
 

Detailed Description

template<class Arc>
class sfst::FailurePath< Arc >

Definition at line 129 of file sfst.h.

Member Typedef Documentation

template<class Arc>
typedef Arc::Label sfst::FailurePath< Arc >::Label

Definition at line 132 of file sfst.h.

template<class Arc>
typedef fst::ExplicitMatcher<fst::SortedMatcher<fst::Fst<Arc> > > sfst::FailurePath< Arc >::Matr

Definition at line 135 of file sfst.h.

template<class Arc>
typedef Arc::StateId sfst::FailurePath< Arc >::StateId

Definition at line 131 of file sfst.h.

template<class Arc>
typedef Arc::Weight sfst::FailurePath< Arc >::Weight

Definition at line 133 of file sfst.h.

Constructor & Destructor Documentation

template<class Arc>
sfst::FailurePath< Arc >::FailurePath ( const fst::Fst< Arc > &  fst,
Label  phi_label,
bool  match_input 
)
inline

Definition at line 137 of file sfst.h.

Member Function Documentation

template<class Arc>
StateId sfst::FailurePath< Arc >::GetNextState ( size_t  i) const
inline

Definition at line 152 of file sfst.h.

template<class Arc>
size_t sfst::FailurePath< Arc >::GetPosition ( size_t  i) const
inline

Definition at line 156 of file sfst.h.

template<class Arc>
Weight sfst::FailurePath< Arc >::GetWeight ( size_t  i) const
inline

Definition at line 154 of file sfst.h.

template<class Arc>
size_t sfst::FailurePath< Arc >::Length ( ) const
inline

Definition at line 149 of file sfst.h.

template<class Arc >
void sfst::FailurePath< Arc >::SetState ( StateId  s)

Definition at line 179 of file sfst.h.


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