FST  openfst-1.7.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::AStarWeightCompare< S, Less, Estimate > Class Template Reference

#include <queue.h>

Public Types

using StateId = S
 
using Weight = typename Less::Weight
 

Public Member Functions

 AStarWeightCompare (const std::vector< Weight > &weights, const Less &less, const Estimate &estimate)
 
bool operator() (StateId s1, StateId s2) const
 
const Estimate & GetEstimate () const
 

Detailed Description

template<typename S, typename Less, typename Estimate>
class fst::AStarWeightCompare< S, Less, Estimate >

Definition at line 801 of file queue.h.

Member Typedef Documentation

template<typename S, typename Less, typename Estimate>
using fst::AStarWeightCompare< S, Less, Estimate >::StateId = S

Definition at line 803 of file queue.h.

template<typename S, typename Less, typename Estimate>
using fst::AStarWeightCompare< S, Less, Estimate >::Weight = typename Less::Weight

Definition at line 804 of file queue.h.

Constructor & Destructor Documentation

template<typename S, typename Less, typename Estimate>
fst::AStarWeightCompare< S, Less, Estimate >::AStarWeightCompare ( const std::vector< Weight > &  weights,
const Less &  less,
const Estimate &  estimate 
)
inline

Definition at line 806 of file queue.h.

Member Function Documentation

template<typename S, typename Less, typename Estimate>
const Estimate& fst::AStarWeightCompare< S, Less, Estimate >::GetEstimate ( ) const
inline

Definition at line 816 of file queue.h.

template<typename S, typename Less, typename Estimate>
bool fst::AStarWeightCompare< S, Less, Estimate >::operator() ( StateId  s1,
StateId  s2 
) const
inline

Definition at line 810 of file queue.h.


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