The periodic balanced sorting network

A periodic sorting network consists of a sequence of identical blocks. In this paper, the periodic balanced sorting network, which consists of log <italic>n</italic> blocks, is introduced. Each block, called a balanced merging block, merges elements on the even input lines with those on the odd input lines. The periodic balanced sorting network sorts <italic>n</italic> items in <italic>O</italic>([log <italic>n</italic>]<supscrpt>2</supscrpt>) time using (<italic>n</italic>/2)(log <italic>n</italic>)<supscrpt>2</supscrpt> comparators. Although these bounds are comparable to many existing sorting networks, the periodic structure enables a hardware implementation consisting of only one block with the output of the block recycled back as input until the output is sorted. An implementation of our network on the shuffle exchange interconnection model in which the direction of the comparators are all identical and fixed is also presented.

[1]  Donald E. Knuth,et al.  The art of computer programming: sorting and searching (volume 3) , 1973 .

[2]  Larry Rudolph,et al.  A Robust Sorting Network , 1985, IEEE Transactions on Computers.

[3]  Harold S. Stone,et al.  Parallel Processing with the Perfect Shuffle , 1971, IEEE Transactions on Computers.

[4]  Kenneth E. Batcher,et al.  Sorting networks and their applications , 1968, AFIPS Spring Joint Computing Conference.

[5]  Yehoshua Perl Better understanding of batcher's merging networks , 1989, Discret. Appl. Math..

[6]  Journal of the Association for Computing Machinery , 1961, Nature.

[7]  Marc Snir,et al.  A Unified Theory of Interconnection Network Structure , 1986, Theor. Comput. Sci..

[8]  János Komlós,et al.  An 0(n log n) sorting network , 1983, STOC.

[9]  Leslie G. Valiant,et al.  A logarithmic time sort for linear size networks , 1982, STOC.

[10]  Duncan H. Lawrie,et al.  Access and Alignment of Data in an Array Processor , 1975, IEEE Transactions on Computers.

[11]  Donald L. Shell,et al.  A high-speed sorting procedure , 1959, CACM.

[12]  Zhu Hong,et al.  Notes on merging networks (Prelimiary Version) , 1982, STOC '82.