Skip to main content

Early History

  • Chapter
  • First Online:
Designing Sorting Networks

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 54.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Reference

  1. Batcher KE (1968) Sorting networks and their applications. In: Proceedings of AFIPS spring joint computer conference, vol 32. AFIPS Press, Montvale, pp 307–314

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Sherenaz W. Al-Haj Baddar .

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics