Skip to main content

The Sortnet Program

  • Chapter
  • First Online:
Designing Sorting Networks

Abstract

The Sortnet program is a useful tool for analyzing and/or synthesizing an N-key sorting network where N < 32. Sortnet commands can be used to: enter the Comparator List (CL); create the set of 0/1-cases that corresponds to the CL list; count these cases; display the corresponding poset of the keys; display the poset of the keys after selecting particular cases; change the comparators in the CL to relabel the keys in the poset; and display the corresponding Shmoo chart considering all or a selected set of the 0/1-cases. A user can customize his/her own copy of Sortnet by creating a text file, EQUIV.LST, and defining a set of equivalent mnemonics that he/she can easily enter. This helps users use their own mnemonics for their own convenience. Sortnet maintains the 0/1-cases for each segment in a separate linked-list. Thus, it does not start with 2N cases when its sorts a set of N keys. Instead, Sortnet begins with N linked-lists where each list has only two cases (i.e. 2N 0/1-cases instead of 2N 0/1-cases).

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.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

References

  1. Batcher KE, Al-Haj Baddar S (2008) Sortnet: a program for building faster sorting networks. Department of Computer Science, Kent State University, Kent, OH, USA, TR-KSU-CS-2008-01

    Google Scholar 

  2. Al-Haj Baddar S, Batcher KE (2009) Finding faster sorting networks using sortnet. VDM Publishing House Ltd., Germany

    Google Scholar 

  3. Cormen T, Leiserson C, Rivest R, Stein C (2001) Introduction to algorithms, 2nd edn. McGraw Hill Book Company, USA

    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). The Sortnet Program. In: Designing Sorting Networks. Springer, New York, NY. https://doi.org/10.1007/978-1-4614-1851-1_6

Download citation

  • DOI: https://doi.org/10.1007/978-1-4614-1851-1_6

  • 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