Abstract
We study comparator networks for selection, merging, and sorting that output the correct result with high probability, given a random input permutation. We prove tight bounds, up to constant factors, on the size and depth of probabilistic (n,k)-selection networks. In the case of (n, n/2)-selection, our result gives a somewhat surprising bound of \(\Theta(n \log \log n)\) on the size of networks of success probability in \([\delta, 1-1/\mbox{poly}(n)]\) , where δ is an arbitrarily small positive constant, thus comparing favorably with the best previously known solutions, which have size \(\Theta(n\log n)\) . We also prove tight bounds, up to lower-order terms, on the size and depth of probabilistic merging networks of success probability in \([\delta, 1-1/\mbox{poly}(n)]\) , where δ is an arbitrarily small positive constant. Finally, we describe two fairly simple probabilistic sorting networks of success probability at least \(1-1/\mbox{poly}(n)\) and nearly logarithmic depth.
Similar content being viewed by others
Author information
Authors and Affiliations
Additional information
Received January 22, 1996, and in final form February 14, 1997.
About this article
Cite this article
Leighton, T., Ma, Y. & Suel, T. On Probabilistic Networks for Selection, Merging, and Sorting. Theory Comput. Systems 30, 559–582 (1997). https://doi.org/10.1007/s002240000068
Published:
Issue Date:
DOI: https://doi.org/10.1007/s002240000068