FST  openfst-1.6.9
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::NaturalPruneQueue< Queue, Weight, ClassFnc > Class Template Referencefinal

#include <queue.h>

Inheritance diagram for fst::NaturalPruneQueue< Queue, Weight, ClassFnc >:
Inheritance graph
[legend]
Collaboration diagram for fst::NaturalPruneQueue< Queue, Weight, ClassFnc >:
Collaboration graph
[legend]

Public Types

using StateId = typename Queue::StateId
 
- Public Types inherited from fst::PruneQueue< Queue, NaturalLess< Weight >, ClassFnc >
using StateId = typename Queue::StateId
 
using Weight = typename NaturalLess< Weight >::Weight
 
- Public Types inherited from fst::QueueBase< Queue::StateId >
using StateId = Queue::StateId
 

Public Member Functions

 NaturalPruneQueue (const std::vector< Weight > &distance, Queue *queue, const ClassFnc &class_fnc, Weight threshold)
 
virtual ~NaturalPruneQueue ()=default
 
- Public Member Functions inherited from fst::PruneQueue< Queue, NaturalLess< Weight >, ClassFnc >
 PruneQueue (const std::vector< Weight > &distance, Queue *queue, const NaturalLess< Weight > &less, const ClassFnc &class_fnc, Weight threshold)
 
virtual ~PruneQueue ()=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
 
- Public Member Functions inherited from fst::QueueBase< Queue::StateId >
virtual ~QueueBase ()
 
 QueueBase (QueueType type)
 
void SetError (bool error)
 
bool Error () const
 
QueueType Type () const
 

Detailed Description

template<typename Queue, typename Weight, typename ClassFnc>
class fst::NaturalPruneQueue< Queue, Weight, ClassFnc >

Definition at line 813 of file queue.h.

Member Typedef Documentation

template<typename Queue , typename Weight , typename ClassFnc >
using fst::NaturalPruneQueue< Queue, Weight, ClassFnc >::StateId = typename Queue::StateId

Definition at line 816 of file queue.h.

Constructor & Destructor Documentation

template<typename Queue , typename Weight , typename ClassFnc >
fst::NaturalPruneQueue< Queue, Weight, ClassFnc >::NaturalPruneQueue ( const std::vector< Weight > &  distance,
Queue *  queue,
const ClassFnc &  class_fnc,
Weight  threshold 
)
inline

Definition at line 818 of file queue.h.

template<typename Queue , typename Weight , typename ClassFnc >
virtual fst::NaturalPruneQueue< Queue, Weight, ClassFnc >::~NaturalPruneQueue ( )
virtualdefault

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