FST  openfst-1.6.1
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 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 f, uint8 mask)
 
void GC (StateId s)
 
void Finish ()
 

Detailed Description

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

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

Member Typedef Documentation

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

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

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

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

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

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

Constructor & Destructor Documentation

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

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

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

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

Member Function Documentation

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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