#include <fst/queue.h>
Inherited by fst::AutoQueue< S >, fst::FifoQueue< S >, fst::LifoQueue< S >, fst::SccQueue< S, Q >, fst::ShortestFirstQueue< S, C, update >, fst::StateOrderQueue< S >, fst::TopOrderQueue< S >, fst::TrivialQueue< S >, fst::ShortestFirstQueue< S, AStarWeightCompare< S, NaturalLess< W >, E > >, and fst::ShortestFirstQueue< S, StateWeightCompare< S, NaturalLess< W > > >.
Public Types | |
| typedef S | StateId |
Public Member Functions | |
| QueueBase (QueueType type) | |
| virtual | ~QueueBase () |
| StateId | Head () const |
| void | Enqueue (StateId s) |
| void | Dequeue () |
| void | Update (StateId s) |
| bool | Empty () const |
| void | Clear () |
| QueueType | Type () |
QueueBase, templated on the StateId, is the base class shared by the queues considered by AutoQueue.
Definition at line 74 of file queue.h.
| typedef S fst::QueueBase< S >::StateId |
Reimplemented in fst::TrivialQueue< S >, fst::ShortestFirstQueue< S, C, update >, fst::TopOrderQueue< S >, fst::StateOrderQueue< S >, fst::SccQueue< S, Q >, fst::AutoQueue< S >, fst::PruneQueue< Q, L, C >, fst::NaturalPruneQueue< Q, W, C >, fst::ShortestFirstQueue< S, AStarWeightCompare< S, NaturalLess< W >, E > >, fst::ShortestFirstQueue< S, StateWeightCompare< S, NaturalLess< W > > >, and fst::PruneQueue< Q, NaturalLess< W >, C >.
| fst::QueueBase< S >::QueueBase | ( | QueueType | type | ) | [inline] |
| virtual fst::QueueBase< S >::~QueueBase | ( | ) | [inline, virtual] |
| void fst::QueueBase< S >::Clear | ( | ) | [inline] |
Reimplemented in fst::TrivialQueue< S >, fst::ShortestFirstQueue< S, C, update >, fst::TopOrderQueue< S >, fst::StateOrderQueue< S >, fst::SccQueue< S, Q >, fst::AutoQueue< S >, fst::PruneQueue< Q, L, C >, fst::ShortestFirstQueue< S, AStarWeightCompare< S, NaturalLess< W >, E > >, fst::ShortestFirstQueue< S, StateWeightCompare< S, NaturalLess< W > > >, and fst::PruneQueue< Q, NaturalLess< W >, C >.
| void fst::QueueBase< S >::Dequeue | ( | ) | [inline] |
Reimplemented in fst::TrivialQueue< S >, fst::ShortestFirstQueue< S, C, update >, fst::TopOrderQueue< S >, fst::StateOrderQueue< S >, fst::SccQueue< S, Q >, fst::AutoQueue< S >, fst::PruneQueue< Q, L, C >, fst::ShortestFirstQueue< S, AStarWeightCompare< S, NaturalLess< W >, E > >, fst::ShortestFirstQueue< S, StateWeightCompare< S, NaturalLess< W > > >, and fst::PruneQueue< Q, NaturalLess< W >, C >.
| bool fst::QueueBase< S >::Empty | ( | ) | const [inline] |
Reimplemented in fst::TrivialQueue< S >, fst::ShortestFirstQueue< S, C, update >, fst::TopOrderQueue< S >, fst::StateOrderQueue< S >, fst::SccQueue< S, Q >, fst::AutoQueue< S >, fst::PruneQueue< Q, L, C >, fst::ShortestFirstQueue< S, AStarWeightCompare< S, NaturalLess< W >, E > >, fst::ShortestFirstQueue< S, StateWeightCompare< S, NaturalLess< W > > >, and fst::PruneQueue< Q, NaturalLess< W >, C >.
| void fst::QueueBase< S >::Enqueue | ( | StateId | s | ) | [inline] |
Reimplemented in fst::TrivialQueue< S >, fst::ShortestFirstQueue< S, C, update >, fst::TopOrderQueue< S >, fst::StateOrderQueue< S >, fst::SccQueue< S, Q >, fst::AutoQueue< S >, fst::ShortestFirstQueue< S, AStarWeightCompare< S, NaturalLess< W >, E > >, fst::ShortestFirstQueue< S, StateWeightCompare< S, NaturalLess< W > > >, and fst::PruneQueue< Q, NaturalLess< W >, C >.
| StateId fst::QueueBase< S >::Head | ( | ) | const [inline] |
Reimplemented in fst::TrivialQueue< S >, fst::ShortestFirstQueue< S, C, update >, fst::TopOrderQueue< S >, fst::StateOrderQueue< S >, fst::SccQueue< S, Q >, fst::AutoQueue< S >, fst::PruneQueue< Q, L, C >, fst::ShortestFirstQueue< S, AStarWeightCompare< S, NaturalLess< W >, E > >, fst::ShortestFirstQueue< S, StateWeightCompare< S, NaturalLess< W > > >, and fst::PruneQueue< Q, NaturalLess< W >, C >.
| QueueType fst::QueueBase< S >::Type | ( | void | ) | [inline] |
| void fst::QueueBase< S >::Update | ( | StateId | s | ) | [inline] |
Reimplemented in fst::TrivialQueue< S >, fst::ShortestFirstQueue< S, C, update >, fst::TopOrderQueue< S >, fst::StateOrderQueue< S >, fst::SccQueue< S, Q >, fst::AutoQueue< S >, fst::ShortestFirstQueue< S, AStarWeightCompare< S, NaturalLess< W >, E > >, fst::ShortestFirstQueue< S, StateWeightCompare< S, NaturalLess< W > > >, and fst::PruneQueue< Q, NaturalLess< W >, C >.
1.7.1