blob: 4cfb97a3b84c733fdbe38df7a9d076e6ba8ee1ba (
plain) (
blame)
1
2
3
4
|
A priority queue is like a standard queue, except that each inserted
elements is given a certain priority, based on the result of the comparison
block given at instantiation time. Retrieving an element from the queue will
always return the one with the highest priority.
|