FST  openfst-1.7.2
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 368 of file queue.h.

Member Typedef Documentation

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

Definition at line 370 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 376 of file queue.h.

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

Definition at line 393 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 424 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 415 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 422 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 404 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 402 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 420 of file queue.h.


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