Skip to main content
Log in

Sorting and Counting Networks of Arbitrary Width and Small Depth

  • Published:
Theory of Computing Systems Aims and scope Submit manuscript

Abstract.

We present the first construction for sorting and counting networks of arbitrary width that requires both small depth and small constant factors in the depth expression. Let w be the product w = p 0 ⋅ p 1 ⋅s p n-1 , whose factors are not necessarily prime. We present a novel network construction of width w and depth O(n 2 ) = O(log 2 w) , using comparators (or balancers) of width less than or equal to max(p i ) . This construction is practical in the sense that the asymptotic notation does not hide any large constants.

An interesting aspect of this construction is that it establishes a family of sorting and counting networks of width w , one for each distinct factorization of w . A factorization in which max(p i ) is large and n is small yields a network that trades small depth for large comparators (or balancers), and a factorization where max(p i ) is small and n is large makes the opposite tradeoff.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Author information

Authors and Affiliations

Authors

Additional information

Received June 18, 2001. Online publication October 30, 2001.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Busch, C., Herlihy, M. Sorting and Counting Networks of Arbitrary Width and Small Depth. Theory Comput. Systems 35, 99–128 (2002). https://doi.org/10.1007/s00224-001-1027-1

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00224-001-1027-1

Keywords

Navigation