The periodic balanced sorting network

  • Authors:
  • Martin Dowd;Yehoshua Perl;Larry Rudolph;Michael Saks

  • Affiliations:
  • Rutgers Univ., New Brunswick, NJ;New Jersey Institute of Technology, Newark;Hebrew Univ., Jerusalem, Israel;Rutgers Univ. New Brunswick, NJ

  • Venue:
  • Journal of the ACM (JACM)
  • Year:
  • 1989

Quantified Score

Hi-index 0.00

Visualization

Abstract

A periodic sorting network consists of a sequence of identical blocks. In this paper, the periodic balanced sorting network, which consists of log n 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 n items in O([log n]2) time using (n/2)(log n)2 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.