|
ADS
Algorithms and Data Structures
|
A \( D \)-ary heap of the integers \( [ 0 , n ) \) with keys and decrease-key, beyond the book. More...
Files | |
| file | ADS/priority/IndexedDaryHeap.h |
| A \( D \)-ary heap of the integers \( [ 0 , n ) \) with keys and decrease-key, beyond the book: the heap of DaryHeap [see DaryHeap.h], whose items are the pairs \( ( \mathit{key} , \mathit{id} ) \) with the key inline, so that a comparison never leaves the heap, and a vector of the places of the ids, which takes the place of the handles of HeapPriorityQueue [see HeapPriorityQueue.h]. | |
Classes | |
| class | ADS::IndexedDaryHeap< K, D, Policy, A > |
| a \( D \)-ary heap of the ids \( [ 0 , n ) \) by their keys, the least on top, with decrease-key, its changes told through Policy More... | |
| class | ADS::TableHeap< T, D > |
| the ids \( [ 0 , n ) \) in a \( D \)-ary heap by the keys that the table T holds for them, read from it by update( id ): the queue of the frontier as an observer of the table of a search, in the form of the LaB-PQ of Dong et al. More... | |
A \( D \)-ary heap of the integers \( [ 0 , n ) \) with keys and decrease-key, beyond the book.
The definitions, the invariants and the costs of the area are in Theory of priority queues.