Jump to content

Adaptive heap sort

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Hamaad.s (talk | contribs) at 10:58, 23 February 2009 (Wrong order of arguments in pipe.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The adaptive heap sort is a sorting algorithm that is similar to heap sort, but uses a randomized binary search tree to structure the input according to any preexisting order. The randomized binary search tree is used to select candidates that are put into the heap, so the heap doesn't need to keep track of all elements. Adaptive heap sort is a part of the adaptive sorting family.

The first adaptive heapsort was Dijkstra's Smoothsort.

See also

  • Public Domain This article incorporates public domain material from Paul E. Black. "Adaptive heap sort". Dictionary of Algorithms and Data Structures. NIST.