Hostname: page-component-7b7567c8c-mnklg Total loading time: 0 Render date: 2026-11-13T09:55:21.663Z Has data issue: false hasContentIssue false

On the median-of-k versionof Hoare's selection algorithm

Published online by Cambridge University Press:  15 August 2002

Rudolf Grübel*
Affiliation:
Institut für Mathematische Stochastik, Universität Hannover, Postfach 60 09, 30060 Hannover, Germany; rgrubel@stochastik.uni-hannover.de.
Get access

Abstract

In Hoare's (1961) original version of the algorithm  the partitioning element in the central divide-and-conquer step is chosen uniformly at random from the set S in question.Here we consider a variant where this element is the median of a sample of size 2k+1 from S. We investigate convergencein distribution of the number of comparisons required and obtain a simple explicit result for the limitingaverage performance of the median-of-three version.

Information

Type
Research Article
Copyright
© EDP Sciences, 1999

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Article purchase

Temporarily unavailable