![]() |
aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
|
This file provides class MultiPriorityQueue that is essentially a heap in which elements are sorted according to a dynamically modifiable priority. More...
Classes | |
| class | gum::MultiPriorityQueue< Val, Priority, Cmp > |
| A MultiPriorityQueue is a heap in which each element has a mutable priority and duplicates are allowed. More... | |
| class | gum::PriorityQueueImplementation< Val, Priority, Cmp, Gen > |
| The internal class for representing priority queues. More... | |
| class | gum::PriorityQueue< Val, Priority, Cmp > |
| A priorityQueue is a heap in which each element has a mutable priority. More... | |
| class | gum::SortedPriorityQueue< Val, Priority, Cmp > |
| A priority queue in which we can iterate over the elements from the top to bottom or conversely. More... | |
This file provides class MultiPriorityQueue that is essentially a heap in which elements are sorted according to a dynamically modifiable priority.
As in heaps, elements are sorted according to a weak order which is < by default, i.e., the top element of the queue is the smallest element and the more to the bottom the greater the element.
This file provides class PriorityQueue that is essentially a heap in which elements are sorted according to a dynamically modifiable priority. As in heaps, elements are sorted according to a weak order which is < by default, i.e., the top element of the queue is the smallest element and the more to the bottom the greater the element. In addition, PriorityQueue has a special feature that enables it to prevent multiple identical elements to be stored into it.