FST
openfst-1.8.4
OpenFst Library
|
#include <queue.h>
Public Types | |
using | StateId = S |
using | Compare = AStarWeightCompare< StateId, NaturalLess< Weight >, Estimate > |
![]() | |
using | StateId = S |
![]() | |
using | StateId = S |
Public Member Functions | |
NaturalAStarQueue (const std::vector< Weight > &distance, const Estimate &estimate) | |
~NaturalAStarQueue () override=default | |
![]() | |
ShortestFirstQueue (AStarWeightCompare< S, NaturalLess< Weight >, Estimate >comp) | |
~ShortestFirstQueue () override=default | |
StateId | Head () const override |
void | Enqueue (StateId s) override |
void | Dequeue () override |
void | Update (StateId s) override |
bool | Empty () const override |
void | Clear () override |
ssize_t | Size () const |
const AStarWeightCompare< S, NaturalLess< Weight >, Estimate > & | GetCompare () const |
![]() | |
virtual | ~QueueBase ()=default |
QueueBase (QueueType type) | |
void | SetError (bool error) |
bool | Error () const |
QueueType | Type () const |
using fst::NaturalAStarQueue< S, Weight, Estimate >::Compare = AStarWeightCompare<StateId, NaturalLess<Weight>, Estimate> |
using fst::NaturalAStarQueue< S, Weight, Estimate >::StateId = S |
|
inline |
|
overridedefault |