#include <fst/queue.h>
Inherits fst::QueueBase< S >.

Public Types | |
| typedef S | StateId |
| typedef Q | Queue |
Public Member Functions | |
| SccQueue (const vector< StateId > &scc, vector< Queue * > *queue) | |
| StateId | Head () const |
| void | Enqueue (StateId s) |
| void | Dequeue () |
| void | Update (StateId s) |
| bool | Empty () const |
| void | Clear () |
SCC topological-order meta-queue discipline, templated on the StateId S and a queue Q, which is used inside each SCC. It visits the SCC's of an FST in topological order. Its constructor is passed the queues to to use within an SCC.
Definition at line 434 of file queue.h.
| typedef Q fst::SccQueue< S, Q >::Queue |
| typedef S fst::SccQueue< S, Q >::StateId |
Reimplemented from fst::QueueBase< S >.
| fst::SccQueue< S, Q >::SccQueue | ( | const vector< StateId > & | scc, | |
| vector< Queue * > * | queue | |||
| ) | [inline] |
| void fst::SccQueue< S, Q >::Clear | ( | ) | [inline] |
Reimplemented from fst::QueueBase< S >.
| void fst::SccQueue< S, Q >::Dequeue | ( | ) | [inline] |
Reimplemented from fst::QueueBase< S >.
| bool fst::SccQueue< S, Q >::Empty | ( | ) | const [inline] |
Reimplemented from fst::QueueBase< S >.
| void fst::SccQueue< S, Q >::Enqueue | ( | StateId | s | ) | [inline] |
Reimplemented from fst::QueueBase< S >.
| StateId fst::SccQueue< S, Q >::Head | ( | ) | const [inline] |
Reimplemented from fst::QueueBase< S >.
| void fst::SccQueue< S, Q >::Update | ( | StateId | s | ) | [inline] |
Reimplemented from fst::QueueBase< S >.
1.7.1