--Boundary_(ID_gAsF1fBYqX6SgkZWD7fXsg)
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
--Boundary_(ID_gAsF1fBYqX6SgkZWD7fXsg)
Content-type: text/plain; name=quiz-98
Content-transfer-encoding: 7BIT
Content-disposition: inline; filename=quiz-98
#! /usr/bin/env ruby
#
# quiz-98 -- demonstrate the A* search algorithm on a simple map.
#
# Glen Pankow 10/15/06 1.1 Original version.
#
# Licensed under the Ruby License.
#
class Array
#
# array.ordered_insert(obj) -> array
#
# We assume the objects in the current array are sorted (based on the
# objects' <