Abstract
This paper shows how Ruby is used to describe and analyse permutation and comparator networks. It describes two merging networks, the bitonic merger and the balanced merger, and shows how they are related. Both of these networks can be used to build recursive sorters. The balanced merger is also the building block of a periodic sorting network that is suitable for implementation on silicon. The correctness of this sorter is demonstrated. As always the key to success in understanding a circuit or algorithm is in finding suitable structuring functions and studying their mathematical properties. This paper uses the notation and to a large extent the structuring functions introduced in reference [4] (in this volume) and that paper should be read first.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
K. E. Batcher, Sorting networks and their applications, in Proc. AFIPS Spring Joint Comput. Conf., Vol. 32, April 1968.
G. Bilardi, Merging and Sorting Networks with the Topology of the Omega Network, IEEE Transactions on Computers, Vol. 38, No. 10, October 1989.
M. Dowd, Y. Perl, L. Rudolph and M. Saks, The Periodic Balanced Sorting Network, Journal of the ACM, Vol. 36, No. 4, October 1989.
G. Jones and M. Sheeran, The study of butterflies, in this volume.
T. Nakatani, S.-T. Huang, B. W. Arden and S. T. Tripathi, K-Way Bitonic Sort, IEEE Transactions on Computers, Vol. 38, No. 2, February 1989.
H. S. Stone, Parallel processing with the perfect shuffle, IEEE Transactions on Computers, Vol. C-20, No. 2, February 1971.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1991 British Computer Society
About this paper
Cite this paper
Sheeran, M. (1991). Sorts of butterflies. In: Birtwistle, G. (eds) IV Higher Order Workshop, Banff 1990. Workshops in Computing. Springer, London. https://doi.org/10.1007/978-1-4471-3182-3_5
Download citation
DOI: https://doi.org/10.1007/978-1-4471-3182-3_5
Publisher Name: Springer, London
Print ISBN: 978-3-540-19660-0
Online ISBN: 978-1-4471-3182-3
eBook Packages: Springer Book Archive