On the average running time of odd-even merge sort

2Citations
Citations of this article
2Readers
Mendeley users who have this article in their library.
Get full text

Abstract

This paper is concerned with the average running time of Batcher's odd-even merge sort when implemented on a collection of processors. We consider the case where the size n of the input is an arbitrary multiple of the number p of processors used. We show that Batcher's odd-even merge (for two sorted lists of length m each) can be implemented to run in time O((m/p)(1 + log(1 + p2/m))) on the average, and that odd-even merge sort can be implemented to run in time O((n/p)(log(n/p)-+-log'p(1 A-log(1 + p2/n)))) on the average. In the case of merging (sorting) the average is taken over all possible outcomes of the merging (all possible permutations of n elements). That means that oddeven merge and odd-even merge sort have an optimal average running time if n≥ p2.

Cite

CITATION STYLE

APA

Rüb, C. (1995). On the average running time of odd-even merge sort. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 900, pp. 491–502). Springer Verlag. https://doi.org/10.1007/3-540-59042-0_99

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free