#include <goblinQueue.h>
Inheritance diagram for goblinQueue:
Public Member Functions | |
virtual unsigned long | Size () const =0 throw () |
virtual void | Insert (TItem w, TKey alpha)=0 throw (ERRange,ERRejected,ERCheck) |
virtual TItem | Delete ()=0 throw (ERRejected) |
virtual void | ChangeKey (TItem w, TKey alpha)=0 throw (ERRange,ERRejected) |
virtual TItem | Peek () const =0 throw (ERRejected) |
virtual bool | Empty () const =0 throw () |
virtual void | Init ()=0 throw () |
virtual TItem | Cardinality () const =0 throw () |
|
Query the current queue cardinality.
Implemented in basicHeap, binaryHeap, dynamicQueue, dynamicStack, fibonacciHeap, sequentialQueueAdapter, sequentialStackAdapter, staticQueue, staticStack, dynamicStack< TNode >, staticQueue< TNode >, staticQueue< TArc >, and staticStack< TNode >. |
|
Insert an index into the queue.
Implemented in basicHeap, binaryHeap, dynamicQueue, dynamicStack, fibonacciHeap, staticQueue, and staticStack. |
|
Delete an element from the queue.
Implemented in basicHeap, binaryHeap, dynamicQueue, dynamicStack, fibonacciHeap, sequentialQueueAdapter, sequentialStackAdapter, staticQueue, staticStack, dynamicStack< TNode >, staticQueue< TNode >, staticQueue< TArc >, and staticStack< TNode >. |
|
Check if the queue is empty.
Implemented in basicHeap, binaryHeap, dynamicQueue, dynamicStack, fibonacciHeap, sequentialQueueAdapter, sequentialStackAdapter, staticQueue, staticStack, dynamicStack< TNode >, staticQueue< TNode >, staticQueue< TArc >, and staticStack< TNode >. |
|
Delete all elements from the queue efficently.
Implemented in basicHeap, binaryHeap, dynamicQueue, dynamicStack, fibonacciHeap, staticQueue, staticStack, dynamicStack< TNode >, staticQueue< TNode >, staticQueue< TArc >, and staticStack< TNode >. |
|
Insert an index into the queue.
Implemented in basicHeap, binaryHeap, dynamicQueue, dynamicStack, fibonacciHeap, sequentialQueueAdapter, sequentialStackAdapter, staticQueue, and staticStack. |
|
Query what is coming next on the queue.
Implemented in basicHeap, binaryHeap, dynamicQueue, dynamicStack, fibonacciHeap, sequentialQueueAdapter, sequentialStackAdapter, staticQueue, staticStack, dynamicStack< TNode >, staticQueue< TNode >, staticQueue< TArc >, and staticStack< TNode >. |
|
Implements goblinRootObject. Implemented in basicHeap, binaryHeap, dynamicQueue, dynamicStack, fibonacciHeap, sequentialQueueAdapter, sequentialStackAdapter, staticQueue, staticStack, dynamicStack< TNode >, staticQueue< TNode >, staticQueue< TArc >, and staticStack< TNode >. |