RubyGems.org

pqueue

2.0.1

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.

installgem install pqueue -v 2.0.1
Authors

K. Kodama, Ronald Butler, Olivier Renaud, Rick Bradley, Thomas Sawyer

15,008 total downloads 834 for this version
Owners

45196398e9685000d195ec626d477f0e

Gemfile
gem 'pqueue', '~> 2.0.1'
Versions
  1. 2.0.2 October 29, 2011 (9 KB)
  2. 2.0.1 October 29, 2011 (8.5 KB)
  3. 2.0.0 October 29, 2011 (9.5 KB)
  4. 1.0.0 July 5, 2009 (9.5 KB)