Pairwise sorting network

Pairwise sorting network

Visualization of the Pairwise sorting network with 16 inputs
Class Sorting algorithm
Data structure Array
Worst case performance (\log n)(\log n + 1)/2 parallel time
Worst case space complexity n(\log n)(\log n - 1)/4 + n - 1 comparators

The pairwise sorting network is a sorting network discovered and published by Ian Parberry in 1992 in Parallel Processing Letters.[1] The pairwise sorting network has the same cost (number of comparators) and delay as the odd-even mergesort network. It requires n(\log n)(\log n - 1)/4 + n - 1 comparators and has depth (\log n)(\log n + 1)/2.

References

  1. Parberry, Ian (1992), "The Pairwise Sorting Network" (PDF), Parallel Processing Letters 2 (2,3): 205–211

External links



This article is issued from Wikipedia - version of the Saturday, December 26, 2015. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.