FST  openfst-1.8.3
OpenFst Library
Classes | Public Types | Public Member Functions | List of all members
fst::internal::PdtShortestPathData< Arc > Class Template Reference

#include <shortest-path.h>

Classes

struct  ParenSpec
 
struct  SearchData
 
struct  SearchState
 

Public Types

using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 

Public Member Functions

 PdtShortestPathData (bool gc)
 
 ~PdtShortestPathData ()
 
void Clear ()
 
Weight Distance (SearchState s) const
 
Weight Distance (const ParenSpec &paren) const
 
SearchState Parent (SearchState s) const
 
SearchState Parent (const ParenSpec &paren) const
 
Label ParenId (SearchState s) const
 
uint8_t Flags (SearchState s) const
 
void SetDistance (SearchState s, Weight weight)
 
void SetDistance (const ParenSpec &paren, Weight weight)
 
void SetParent (SearchState s, SearchState p)
 
void SetParent (const ParenSpec &paren, SearchState p)
 
void SetParenId (SearchState s, Label p)
 
void SetFlags (SearchState s, uint8_t f, uint8_t mask)
 
void GC (StateId s)
 
void Finish ()
 

Detailed Description

template<class Arc>
class fst::internal::PdtShortestPathData< Arc >

Definition at line 84 of file shortest-path.h.

Member Typedef Documentation

template<class Arc >
using fst::internal::PdtShortestPathData< Arc >::Label = typename Arc::Label

Definition at line 86 of file shortest-path.h.

template<class Arc >
using fst::internal::PdtShortestPathData< Arc >::StateId = typename Arc::StateId

Definition at line 87 of file shortest-path.h.

template<class Arc >
using fst::internal::PdtShortestPathData< Arc >::Weight = typename Arc::Weight

Definition at line 88 of file shortest-path.h.

Constructor & Destructor Documentation

template<class Arc >
fst::internal::PdtShortestPathData< Arc >::PdtShortestPathData ( bool  gc)
inlineexplicit

Definition at line 136 of file shortest-path.h.

template<class Arc >
fst::internal::PdtShortestPathData< Arc >::~PdtShortestPathData ( )
inline

Definition at line 139 of file shortest-path.h.

Member Function Documentation

template<class Arc >
void fst::internal::PdtShortestPathData< Arc >::Clear ( )
inline

Definition at line 145 of file shortest-path.h.

template<class Arc >
Weight fst::internal::PdtShortestPathData< Arc >::Distance ( SearchState  s) const
inline

Definition at line 157 of file shortest-path.h.

template<class Arc >
Weight fst::internal::PdtShortestPathData< Arc >::Distance ( const ParenSpec paren) const
inline

Definition at line 159 of file shortest-path.h.

template<class Arc >
void fst::internal::PdtShortestPathData< Arc >::Finish ( )
inline

Definition at line 202 of file shortest-path.h.

template<class Arc >
uint8_t fst::internal::PdtShortestPathData< Arc >::Flags ( SearchState  s) const
inline

Definition at line 171 of file shortest-path.h.

template<class Arc >
void fst::internal::PdtShortestPathData< Arc >::GC ( StateId  s)

Definition at line 284 of file shortest-path.h.

template<class Arc >
Label fst::internal::PdtShortestPathData< Arc >::ParenId ( SearchState  s) const
inline

Definition at line 169 of file shortest-path.h.

template<class Arc >
SearchState fst::internal::PdtShortestPathData< Arc >::Parent ( SearchState  s) const
inline

Definition at line 163 of file shortest-path.h.

template<class Arc >
SearchState fst::internal::PdtShortestPathData< Arc >::Parent ( const ParenSpec paren) const
inline

Definition at line 165 of file shortest-path.h.

template<class Arc >
void fst::internal::PdtShortestPathData< Arc >::SetDistance ( SearchState  s,
Weight  weight 
)
inline

Definition at line 173 of file shortest-path.h.

template<class Arc >
void fst::internal::PdtShortestPathData< Arc >::SetDistance ( const ParenSpec paren,
Weight  weight 
)
inline

Definition at line 177 of file shortest-path.h.

template<class Arc >
void fst::internal::PdtShortestPathData< Arc >::SetFlags ( SearchState  s,
uint8_t  f,
uint8_t  mask 
)
inline

Definition at line 194 of file shortest-path.h.

template<class Arc >
void fst::internal::PdtShortestPathData< Arc >::SetParenId ( SearchState  s,
Label  p 
)
inline

Definition at line 187 of file shortest-path.h.

template<class Arc >
void fst::internal::PdtShortestPathData< Arc >::SetParent ( SearchState  s,
SearchState  p 
)
inline

Definition at line 181 of file shortest-path.h.

template<class Arc >
void fst::internal::PdtShortestPathData< Arc >::SetParent ( const ParenSpec paren,
SearchState  p 
)
inline

Definition at line 183 of file shortest-path.h.


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