Research note: Networks for sorting multitonic sequences

  • Authors:
  • Joel Seiferas

  • Affiliations:
  • Computer Science Department, University of Rochester, Rochester, NY 14627-0226, USA

  • Venue:
  • Journal of Parallel and Distributed Computing
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

Lee and Batcher have designed networks that efficiently merge k separately provided sorted sequences of known lengths totalling n. We show that the design is still possible, and in fact easier to describe, if we do not make use of the lengths, or even the directions of monotonicity, of the individual sequences-the sequences can be provided in a single undelimited concatenation of length n. The depth of the simplest resulting network to sort sequences that are ''k-tonic'' and of length n is (1+@?log"2k@?)@?log"2n@?=O((logk)(logn)), generalizing Batcher's 1968 results for the extreme values of k (k=2 corresponding to merging, and k=@?n/2@? corresponding to general sorting). The exposition is self-contained and can serve even as an introduction to sorting networks and Batcher's results.