FST  openfst-1.6.9
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::AutoQueue< S > Class Template Reference

#include <queue.h>

Inheritance diagram for fst::AutoQueue< S >:
Inheritance graph
[legend]
Collaboration diagram for fst::AutoQueue< S >:
Collaboration graph
[legend]

Public Types

using StateId = S
 
- Public Types inherited from fst::QueueBase< S >
using StateId = S
 

Public Member Functions

template<class Arc , class ArcFilter >
 AutoQueue (const Fst< Arc > &fst, const std::vector< typename Arc::Weight > *distance, ArcFilter filter)
 
virtual ~AutoQueue ()=default
 
StateId Head () const final
 
void Enqueue (StateId s) final
 
void Dequeue () final
 
void Update (StateId s) final
 
bool Empty () const final
 
void Clear () final
 
- Public Member Functions inherited from fst::QueueBase< S >
virtual ~QueueBase ()
 
 QueueBase (QueueType type)
 
void SetError (bool error)
 
bool Error () const
 
QueueType Type () const
 

Detailed Description

template<class S>
class fst::AutoQueue< S >

Definition at line 506 of file queue.h.

Member Typedef Documentation

template<class S>
using fst::AutoQueue< S >::StateId = S

Definition at line 508 of file queue.h.

Constructor & Destructor Documentation

template<class S>
template<class Arc , class ArcFilter >
fst::AutoQueue< S >::AutoQueue ( const Fst< Arc > &  fst,
const std::vector< typename Arc::Weight > *  distance,
ArcFilter  filter 
)
inline

Definition at line 514 of file queue.h.

template<class S>
virtual fst::AutoQueue< S >::~AutoQueue ( )
virtualdefault

Member Function Documentation

template<class S>
void fst::AutoQueue< S >::Clear ( )
inlinefinalvirtual

Implements fst::QueueBase< S >.

Definition at line 604 of file queue.h.

template<class S>
void fst::AutoQueue< S >::Dequeue ( )
inlinefinalvirtual

Implements fst::QueueBase< S >.

Definition at line 598 of file queue.h.

template<class S>
bool fst::AutoQueue< S >::Empty ( ) const
inlinefinalvirtual

Implements fst::QueueBase< S >.

Definition at line 602 of file queue.h.

template<class S>
void fst::AutoQueue< S >::Enqueue ( StateId  s)
inlinefinalvirtual

Implements fst::QueueBase< S >.

Definition at line 596 of file queue.h.

template<class S>
StateId fst::AutoQueue< S >::Head ( ) const
inlinefinalvirtual

Implements fst::QueueBase< S >.

Definition at line 594 of file queue.h.

template<class S>
void fst::AutoQueue< S >::Update ( StateId  s)
inlinefinalvirtual

Implements fst::QueueBase< S >.

Definition at line 600 of file queue.h.


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