Class EQSort

  • All Implemented Interfaces:
    ComparisonSortAlgorithm<Object>, SortAlgorithm<Object>

    public final class EQSort
    extends Object
    An enhanced quick sort demonstration algorithm SortAlgorithm.java, Thu Oct 27 10:32:35 1994
    Version:
    1.0, 26 Jun 1995

    19 Feb 1996: Fixed to avoid infinite loop discoved by Paul Haberli. Misbehaviour expressed when the pivot element was not unique. -Jason Harrison 21 Jun 1996: Modified code based on comments from Paul Haeberli, and Peter Schweizer (Peter.Schweizer@mni.fh-giessen.de). Used Daeron Meyer's (daeron@geom.umn.edu) code for the new pivoting code. - Jason Harrison 09 Jan 1998: Another set of bug fixes by Thomas Everth (everth@wave.co.nz) and John Brzustowski (jbrzusto@gpu.srv.ualberta.ca).

    Adapted from Jim Boritz' EQSortAlgorithm.

    Author:
    Jim Boritz