A priority queue is like a standard queue, except that each inserted element 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.
Required Ruby Version
>= 3.1
Authors
Trans, K. Kodama, Ronald Butler, Olivier Renaud, Rick Bradley
Versions
-
2.2.0
-
source
- 2.2.0 source April 03, 2026 (9 KB)
-
-
2.1.0
-
source
- 2.1.0 source March 03, 2015 (11 KB)
-
-
2.0.2
-
source
- 2.0.2 source October 29, 2011 (9 KB)
-
-
2.0.1
-
source
- 2.0.1 source October 29, 2011 (8.5 KB)
-
-
2.0.0
-
source
- 2.0.0 source October 29, 2011 (9.5 KB)
-