From: Mason Kelsey Date: 2009-09-21T11:25:17+09:00 Subject: Multi-Dimensional Arrays in Priority Queues --0016364ed56e10a07604740d311b Content-Type: text/plain; charset=ISO-8859-1 In my program I need to construct a priority queue that sorts ascending. The basic idea can be expressed in the following simple code that uses a Priority Queue concept. See: http://www.math.kobe-u.ac.jp/~kodama/tips-ruby-pqueue.html 1 require "pqueue" 2 3 pq=PQueue.new(proc{|x,y| x