Publication | Closed Access
Analysis of Hoare's FIND algorithm with Median-of-three partition
49
Citations
4
References
1997
Year
Mathematical ProgrammingJth ElementFind AlgorithmEngineeringData MiningAlgorithm DesignRandomized AlgorithmSorting AlgorithmAnalysis Of AlgorithmPivot ElementRange SearchingDiscrete MathematicsCombinatorial OptimizationComputational GeometryApproximation TheoryStatistics
Hoare's FIND algorithm can be used to select the jth element out of a file of n elements. It bears a remarkable similarity to Quicksort; in each pass of the algorithm, a pivot element is used to split the file into two subfiles, and recursively the algorithm proceeds with the subfile that contains the sought element. As in Quicksort, different strategies for selecting the pivot are reasonable. In this paper, we consider the Median-of-three version, where the pivot element is chosen as the median of a random sample of three elements. Establishing some hypergeometric differential equations, we find explicit formulae for both the average number of passes and comparisons. We compare these results with the corresponding ones for the basic partition strategy. © 1997 John Wiley & Sons, Inc. Random Struct. Alg., 10, 143–156 (1997)
| Year | Citations | |
|---|---|---|
Page 1
Page 1