Distributed Selection in O ( n ) Time with O ( n n ) Messages

Abstract

We consider the selection problem on a completely connected network of n processors with no shared memory. Each processor initially holds a given numeric item of b bits allowed to send a message of ( b, n ) bits to another processor at a time. On such a communication network G, we show that the kth smallest of the n inputs can be detected in O ( n ) time with O ( n n ) messages. The possibility of such a parallel algorithm for this distributed k-selection problem has been unknown despite the intensive investigation on many variations of the selection problem carried out since 1970s. The main trick of our algorithm is to simulate the comparisons and swaps performed by the AKS sorting network, the n-input sorting network of logarithmic depth discovered by Ajtai, Koml\'os and Szemer\'edi in 1983. We also show the universal time lower bound n for many basic data aggregation problems on G, confirming the asymptotic time optimality of our parallel algorithm.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…