Hostname: page-component-78c5997874-94fs2 Total loading time: 0 Render date: 2024-11-07T17:31:30.230Z Has data issue: false hasContentIssue false

Hoare's Selection Algorithm: A Markov Chain Approach

Published online by Cambridge University Press:  14 July 2016

Rudolf Grübel*
Affiliation:
Universität Hannover
*
Postal address: Institut für Mathematische Stochastik, Universität Hannover, Postfach 60 09, D-30060 Hannover, Germany. e-mail address: [email protected]

Abstract

We obtain bounds for the distribution of the number of comparisons needed by Hoare's randomized selection algorithm FIND and give a new proof for Grübel and Rösler's (1996) result on the convergence of this distribution. Our approach is based on the construction and analysis of a suitable associated Markov chain. Some numerical results for the quantiles of the limit distributions are included, leading for example to the statement that, for a set S with n elements and n large, FIND will need with probability 0.9 about 4.72 x n comparisons to find the median of S.

Type
Research Papers
Copyright
Copyright © Applied Probability Trust 1998 

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

References

Devroye, L. (1984). Exponential bounds for the running time of a selection algorithm. J. Comput. System Sci. 29, 17.Google Scholar
Goldie, C. M. and Grübel, R. (1996). Perpetuities with thin tails. Adv. Appl. Prob. 28, 463480.Google Scholar
Grübel, R. and Rösler, U. (1996). Asymptotic distribution theory for Hoare's selection algorithm. Adv. Appl. Prob. 28, 252269.Google Scholar
Hoare, C. A. R. (1961). Algorithm 65, FIND. Commun. ACM 4, 321322.Google Scholar
Paulsen, V. (1995). The moments of FIND. Preprint. Universität Kiel.Google Scholar