A base class for priority queues. More...
#include <PriorityQueue.h>
Public Types | |
| typedef T | element_type |
| The element type. | |
| typedef const element_type & | const_reference |
| A const reference to the element type. | |
| typedef Key | key_type |
| The key type. | |
| typedef GetKey | get_key_functor |
| The functor to get a key from an element. | |
| typedef CompareKeys | compare_keys_functor |
| The functor to compare keys. | |
| typedef Sequence | sequence_type |
| The sequence to store elements. | |
| typedef sequence_type::value_type | value_type |
| The type stored in the priority queue. | |
| typedef sequence_type::iterator | iterator |
| An iterator on the value type. | |
|
typedef sequence_type::difference_type | difference_type |
| Difference between iterators. | |
| typedef int | size_type |
| The size type. | |
A base class for priority queues.
PriorityQueue is a base class that defines types common to all priority queues.
| T | is the element type. | |
| Key | is the key type. By default, we assume T is an iterator and Key is the value type of this iterator. |
1.6.3