FST  openfst-1.8.2.post1
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 71 of file shortest-path.h.

Member Typedef Documentation

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

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

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

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

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

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

Constructor & Destructor Documentation

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

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

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

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

Member Function Documentation

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Definition at line 164 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 181 of file shortest-path.h.

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

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

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

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

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

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


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