FST  openfst-1.8.3
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)
 
 ~TopOrderQueue () override=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 ()=default
 
 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 418 of file queue.h.

Member Typedef Documentation

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

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

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

Definition at line 443 of file queue.h.

template<class S>
fst::TopOrderQueue< S >::~TopOrderQueue ( )
overridedefault

Member Function Documentation

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

Implements fst::QueueBase< S >.

Definition at line 474 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 465 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 472 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 454 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 452 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 470 of file queue.h.


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