Abstract
The Bitonic Merge Sorting and the Odd–Even Merge Sorting algorithms are two parallel sorting algorithms. Both sort N keys in no more than log2 N steps with no more than N/2 comparators in each step. To sort N keys using Bitonic Merge Sorting, firstly create two N/2 ordered lists: one in monotonic non-decreasing order and the other in monotonic non-increasing order. Then, apply bitonic merging to create two bitonic lists: H and L where H contains the largest N/2 keys and L contains the least N/2 keys. This would be repeated, recursively, until an N-key sorted list is generated. Odd–Even Merge Sorting of N-keys proceeds by merging two N/2 sorted lists A and B into the sorted list C. To do so, all the keys with odd indices in A and B are merged into one ordered list, D. Similarly, all the keys with even indices in A and B are merged into one ordered list, E. The first key in the output list C (i.e. c 1) would be the first key in D. Then, each two consecutive keys in C would be obtained by comparing the i + 1th key in D with the ith key in E.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Reference
Batcher KE (1968) Sorting networks and their applications. In: Proceedings of AFIPS spring joint computer conference, vol 32. AFIPS Press, Montvale, pp 307–314
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2011 Springer Science+Business Media, LLC
About this chapter
Cite this chapter
Al-Haj Baddar, S.W., Batcher, K.E. (2011). Early History. In: Designing Sorting Networks. Springer, New York, NY. https://doi.org/10.1007/978-1-4614-1851-1_1
Download citation
DOI: https://doi.org/10.1007/978-1-4614-1851-1_1
Published:
Publisher Name: Springer, New York, NY
Print ISBN: 978-1-4614-1850-4
Online ISBN: 978-1-4614-1851-1
eBook Packages: Computer ScienceComputer Science (R0)