NIST

smoothsort

(algorithm)

Definition: A variant of heapsort that takes advantage of a partially ordered table. Performance is O(n) when input is sorted and O(n log n) performance for worst case.

See also heapsort.

Note: From Lynn Milnes <trjudo@hotmail.com> August 2003

Author: PEB

Implementation

Smoothsort, an alternative for sorting in situ typescript (guarded command language)

More information

Edsger W. Dijkstra, An alternative to Heapsort for sorting in situ, manuscript, June 1981. PDF.


Go to the Dictionary of Algorithms and Data Structures home page.

If you have suggestions, corrections, or comments, please get in touch with Paul E. Black.

Entry modified 4 October 2010.
HTML page formatted Tue Dec 6 16:16:32 2011.

Cite this as:
Paul E. Black, "smoothsort", in Dictionary of Algorithms and Data Structures [online], Paul E. Black, ed., U.S. National Institute of Standards and Technology. 4 October 2010. (accessed TODAY) Available from: http://www.nist.gov/dads/HTML/smoothsort.html

to NIST home page