FST  openfst-1.8.3
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, std::unique_ptr< Queue > queue, const ClassFnc &class_fnc, Weight threshold)
 
 ~NaturalPruneQueue () override=default
 
- Public Member Functions inherited from fst::PruneQueue< Queue, NaturalLess< Weight >, ClassFnc >
 PruneQueue (const std::vector< Weight > &distance, std::unique_ptr< Queue > queue, const NaturalLess< Weight > &less, const ClassFnc &class_fnc, Weight threshold)
 
 ~PruneQueue () 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
 
- Public Member Functions inherited from fst::QueueBase< Queue::StateId >
virtual ~QueueBase ()=default
 
 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 965 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 968 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,
std::unique_ptr< Queue >  queue,
const ClassFnc &  class_fnc,
Weight  threshold 
)
inline

Definition at line 970 of file queue.h.

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

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