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

#include <queue.h>

Inheritance diagram for fst::TopOrderQueue< S >:
Inheritance graph
[legend]
Collaboration diagram for fst::TopOrderQueue< 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 >
 TopOrderQueue (const Fst< Arc > &fst, ArcFilter filter)
 
 TopOrderQueue (const std::vector< StateId > &order)
 
virtual ~TopOrderQueue ()=default
 
StateId Head () const final
 
void Enqueue (StateId s) final
 
void Dequeue () final
 
void Update (StateId) 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::TopOrderQueue< S >

Definition at line 288 of file queue.h.

Member Typedef Documentation

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

Definition at line 290 of file queue.h.

Constructor & Destructor Documentation

template<class S>
template<class Arc , class ArcFilter >
fst::TopOrderQueue< S >::TopOrderQueue ( const Fst< Arc > &  fst,
ArcFilter  filter 
)
inline

Definition at line 296 of file queue.h.

template<class S>
fst::TopOrderQueue< S >::TopOrderQueue ( const std::vector< StateId > &  order)
inlineexplicit

Definition at line 313 of file queue.h.

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

Member Function Documentation

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

Implements fst::QueueBase< S >.

Definition at line 344 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 335 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 342 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 324 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 322 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 340 of file queue.h.


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