 |
 |
Fouz, M. and Kufleitner, M. and Manthey, B. and Zeini Jahromi, N.
(2009)
On smoothed analysis of quicksort and Hoare's find.
In: Proceedings of the 15th Annual International Computing and Combinatorics Conference, COCOON 2009, 13-15 Jul 2009, Niagara Falls, NY, USA.
.
Lecture Notes in Computer Science 5609.
Springer.
ISBN 978-3-642-02881-6
Full text available as: Official URL: http://dx.doi.org/10.1007/978-3-642-02882-3_17  AbstractWe provide a smoothed analysis of Hoare’s find algorithm and we revisit the smoothed analysis of quicksort. Hoare’s find algorithm – often called quickselect – is an easy-to-implement algorithm for finding the -th smallest element of a sequence. While the worst-case number of comparisons that Hoare’s find needs is the average-case number is We analyze what happens between these two extremes by providing a smoothed analysis of the algorithm in terms of two different perturbation models: additive noise and partial permutations.
In the first model, an adversary specifies a sequence of numbers of [0,1], and then each number is perturbed by adding a random number drawn from the interval [0, ]. We prove that Hoare’s find needs comparisons in expectation if the adversary may also specify the element that we would like to find. Furthermore, we show that Hoare’s find needs fewer comparisons for finding the median.
In the second model, each element is marked with probability and then a random permutation is applied to the marked elements. We prove that the expected number of comparisons to find the median is in , which is again tight.
Finally, we provide lower bounds for the smoothed number of comparisons of quicksort and Hoare’s find for the median-of-three pivot rule, which usually yields faster algorithms than always selecting the first element: The pivot is the median of the first, middle, and last element of the sequence. We show that median-of-three does not yield a significant improvement over the classic rule: the lower bounds for the classic rule carry over to median-of-three.
| Item Type: | Conference or Workshop Paper (Full Paper, Talk) |
|---|
| Research Group: | EWI-DMMP: Discrete Mathematics and Mathematical Programming |
|---|
| Research Program: | CTIT-IE&ICT: Industrial Engineering and ICT |
|---|
| Uncontrolled Keywords: | Smoothed analysis, Hoare's find, Quickselect, Quicksort, Left-to-right maxima |
|---|
| ID Code: | 16973 |
|---|
| Status: | Published |
|---|
| Deposited On: | 08 December 2009 |
|---|
| Refereed: | Yes |
|---|
| International: | Yes |
|---|
| More Information: | statisticsmetis |
|---|
Export this item as: To request a copy of the PDF please email us request copy To correct this item please ask your editor Repository Staff Only: edit this item
|
 |
 |