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 Black.

Entry modified 14 December 2020.
HTML page formatted Mon Dec 14 10:59:03 2020.

Cite this as:
Paul E. Black, "smoothsort", in Dictionary of Algorithms and Data Structures [online], Paul E. Black, ed. 14 December 2020. (accessed TODAY) Available from: https://www.nist.gov/dads/HTML/smoothsort.html