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).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
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
Al-Haj Baddar S, Batcher KE (2009) Finding faster sorting networks using sortnet. VDM Publishing House Ltd., Germany
Cormen T, Leiserson C, Rivest R, Stein C (2001) Introduction to algorithms, 2nd edn. McGraw Hill Book Company, USA
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). 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)