Sha256: 5ee2bf2ac4c9b73ba5997487df44ba2877bee43ee2d135419ff8759b377bc19d
Contents?: true
Size: 1017 Bytes
Versions: 1
Compression:
Stored size: 1017 Bytes
Contents
= PQueue * http://death.rubyforge.org * http://death.rubyforge.org/pqueue == DESCRIPTION Priority queue with array based heap. 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. Also, retrieving an element from the queue will always return the one with the highest priority (see #pop and #top). The default is to compare the elements in repect to their #> method. For example, Numeric elements with higher values will have higher priorities. This library is based off the original PQueue.rb by K.Kodama and Heap.rb by Ronald Butler. It was later improved by Olivier Renaud. == SYNOPSIS ... to be done ... == INSTALLATION $ gem install pqueue == COPYING Copyright (c) 2009 The Coding Dead Copyright (c) 2006 Olivier Renaud Copyright (c) 2005 K.Kodama, Ronald Butler This software is distributed under the terms of the LGPL v3 license. See LICENSE file for details.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pqueue-1.0.0 | README |