FST  openfst-1.7.1
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::internal::ShortestDistanceState< Arc, Queue, ArcFilter > Class Template Reference

#include <shortest-distance.h>

Public Types

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

Public Member Functions

 ShortestDistanceState (const Fst< Arc > &fst, std::vector< Weight > *distance, const ShortestDistanceOptions< Arc, Queue, ArcFilter > &opts, bool retain)
 
void ShortestDistance (StateId source)
 
bool Error () const
 

Detailed Description

template<class Arc, class Queue, class ArcFilter>
class fst::internal::ShortestDistanceState< Arc, Queue, ArcFilter >

Definition at line 65 of file shortest-distance.h.

Member Typedef Documentation

template<class Arc, class Queue, class ArcFilter>
using fst::internal::ShortestDistanceState< Arc, Queue, ArcFilter >::StateId = typename Arc::StateId

Definition at line 67 of file shortest-distance.h.

template<class Arc, class Queue, class ArcFilter>
using fst::internal::ShortestDistanceState< Arc, Queue, ArcFilter >::Weight = typename Arc::Weight

Definition at line 68 of file shortest-distance.h.

Constructor & Destructor Documentation

template<class Arc, class Queue, class ArcFilter>
fst::internal::ShortestDistanceState< Arc, Queue, ArcFilter >::ShortestDistanceState ( const Fst< Arc > &  fst,
std::vector< Weight > *  distance,
const ShortestDistanceOptions< Arc, Queue, ArcFilter > &  opts,
bool  retain 
)
inline

Definition at line 70 of file shortest-distance.h.

Member Function Documentation

template<class Arc, class Queue, class ArcFilter>
bool fst::internal::ShortestDistanceState< Arc, Queue, ArcFilter >::Error ( ) const
inline

Definition at line 94 of file shortest-distance.h.

template<class Arc , class Queue , class ArcFilter >
void fst::internal::ShortestDistanceState< Arc, Queue, ArcFilter >::ShortestDistance ( StateId  source)

Definition at line 134 of file shortest-distance.h.


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