The Average Complexity of Deterministic and Randomized Parallel Comparison-Sorting Algorithms
- 1 December 1988
- journal article
- Published by Society for Industrial & Applied Mathematics (SIAM) in SIAM Journal on Computing
- Vol. 17 (6) , 1178-1192
- https://doi.org/10.1137/0217074
Abstract
In practice, the average time of (deterministic or randomized) sorting algorithms seems to be more relevant than the worst case time of deterministic algorithms. Still, the many known complexity bounds for parallel comparison sorting include no nontrivial lower bounds for the average time required to sort by comparisons n elements with p processors (via deterministic or randomized algorithms). We show that for p ≥ n this time is Θ (log n/log(1 + p/n)), (it is easy to show that for p ≤ n the time is Θ (n log n/p) = Θ (log n/(p/n)). Therefore even the average case behaviour of randomized algorithms is not more efficient than the worst case behaviour of deterministic ones.Keywords
This publication has 10 references indexed in Scilit:
- Sorting, Approximate Sorting, and Searching in RoundsSIAM Journal on Discrete Mathematics, 1988
- Sorting and Selecting in RoundsSIAM Journal on Computing, 1987
- Tight Comparison Bounds on the Complexity of Parallel SortingSIAM Journal on Computing, 1987
- Routing, merging, and sorting on parallel models of computationJournal of Computer and System Sciences, 1985
- Sorting and GraphsPublished by Springer Nature ,1985
- The VLSI Complexity of SortingIEEE Transactions on Computers, 1983
- Parallel sortingDiscrete Applied Mathematics, 1983
- Sorting inc logn parallel stepsCombinatorica, 1983
- Parallel Sorting with Constant Time for ComparisonsSIAM Journal on Computing, 1981
- Parallelism in Comparison ProblemsSIAM Journal on Computing, 1975