encyclopegia.org

Pairwise sorting network

The pairwise sorting network is a sorting network discovered and published by Ian Parberry in 1992 in Parallel Processing Letters. The pairwise sorting network has the same size (number of comparators) and depth as the odd–even mergesort network. At the time of publication, the network was one of several known networks with a depth of O(\log^2 n) . It requires n(\log n)(\log n - 1)/4 + n - 1 comparators and has depth (\log n)(\log n + 1)/2 . The sorting procedure implemented by the network is as follows (guided by the zero-one principle): # Sort consecutive pairwise bits of the input (corresponds to the first layer of the diagram) # Sort all pairs into lexicographic order by recursively sorting all odd bits and even bits separately (corresponds to the next three layers of 2+4+8 columns of the diagram) # Sort the pairs in nondecreasing order using a specialized network (corresponds to the final layers of the diagram)

The pairwise sorting network is a sorting network discovered and published by Ian Parberry in 1992 in Parallel Processing Letters. The pairwise sorting network has the same size (number of comparators) and depth as the odd–even mergesort network. At the time of publication, the network was one of several known networks with a depth of O(\log^2 n) . It requires n(\log n)(\log n - 1)/4 + n - 1 comparators and has depth (\log n)(\log n + 1)/2 . The sorting procedure implemented by the network is as follows (guided by the zero-one principle): Sort consecutive pairwise bits of the input (corresponds to the first layer of the diagram) Sort all pairs into lexicographic order by recursively sorting all odd bits and even bits separately (corresponds to the next three layers of 2+4+8 columns of the diagram) Sort the pairs in nondecreasing order using a specialized network (corresponds to the final layers of the diagram)

References

No reference rows published for this article.

Cite this article

MLA

"Pairwise sorting network." encyclopegia.org, 2025, https://encyclopegia.org/wiki/pairwise-sorting-network. Accessed 25 November 2026.

Chicago

"Pairwise sorting network." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/pairwise-sorting-network.

APA

encyclopegia.org. (2025). Pairwise sorting network. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/pairwise-sorting-network

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

Claims

PredicateValueSource
publication date1992Wikipedia

Related articles

Optical Transport Network

stub · references available

Digital Living Network Alliance

stub · references available

Network News Transfer Protocol

stub · references available

Deaf Theatre Network Europe Vienna

stub · references available

Cartoon Network

stub · references available

Artist's Electronic Exchange Network

stub · references available

Kolping Network

stub · references available

traction power network

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1313822723 · 0.5 · snapshot enwiki-001313822723

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.