Abstract
We present a deterministic algorithm for selecting the element of rankk amongN=n 2 elements, 1≤k≤N, on ann×n mesh-connected processor array in 1.45n parallel computation steps, using constant-sized queues (for large enoughn). This is a considerable improvement over the best previous deterministic algorithm, which was based upon sorting and requires2n+o(n) steps. Our algorithm can be generalized to solve the problem of selection on higher-dimensional meshes. In particular, we present an algorithm for the three-dimensional mesh which achieves a time bound better than any of the previously known deterministic results.
Similar content being viewed by others
References
A. Agarwal, B. Lim, D. Kranz, and J. Kubiatowicz. APRIL: a processor architecture for multiprocessing.Proceedings of the 17th Annual International Symposium on Computer Architecture, pp. 104–114, 1990.
M. Ajtai, N. Komlos, W. L. Steiger, and E. Szemeredi. Optimal parallel selection has complexityO(loglogn).Journal of Computer and System Science, 38(1):125–133, February 1989.
Y. Azar and N. Pippenger. Parallel selection.Discrete Applied Mathematics, 27:49–58, 1990.
M. Blum, R. Floyd, V. R. Pratt, R. Rivest, and R. Tarjan. Time bounds for selection.Journal of Computer and System Science, 7(4):448–461, 1972.
R. Cole. An optimally efficient selection algorithm.Information Processing Letters, 26:295–299, 1988.
A. Condon and L. Narayanan. Upper bounds for sorting and selection on meshes.Proceedings of the Sixth IEEE Symposium on Parallel and Distributed Processing, pp. 497–504, 1994.
W. Dally. Wire efficient VLSI multi-processor communication networks. InAdvanced Research in VLSI, pp. 391–415. MIT Press, Cambridge, MA, 1987.
C. Kaklamanis, D. Krizanc, L. Narayanan, and A. Tsantilas. Randomized sorting and selection on meshconnected processor arrays.Proceedings of the Symposium on Parallel Algorithms and Architecture, pages 17–28, 1991.
M. Kaufmann, J. Sibeyn, and T. Suel. Derandomizing algorithms for routing and sorting on meshes.Proceedings of the Fifth Annual ACM-SIAM Symposium on Discrete Algorithms, pp. 669–679, 1994.
M. Kunde. Routing and sorting on mesh-connected arrays. InAegean Workshop on Computing: VLSI Algorithms and Architectures, pp. 423–433. Lecture Notes in Computer Science, Vol. 319. Springer-Verlag, Berlin, 1988.
M. Kunde. 1-selection and related problems on grids of processors.Journal of New Generation Computer Systems, 2:129–143, 1989.
M. Kunde. Concentrated regular data streams on grids: sorting and routing near to the bisection bound.Proceedings of the Symposium on the Foundations of Computer Science, pp. 141–150, 1991.
F. Leighton, F. Makedon, and I. Tollis. A 2n−2 step algorithm for routing in ann×n array with constant size queues.Proceedings of the Symposium on Parallel Algorithms and Architecture, pp. 328–335, 1989.
D. Lenoski, J. Laudon, K. Gharachorloo, A. Gupta, and J. Hennessy. The directory-based cache coherence protocol for the DASH multiprocessor.Proceedings of the 17th Annual International Symposium on Computer Architecture, pp. 148–159, 1990.
S. L. Lillevik. Touchstone program overview.Proceedings of the 5th Distributed Memory Computing Conference, Charleston, SC, April 9–12, 1990.
F. Makedon and A. Simvonis. Many-to-one packet routing for the mesh. Technical Report, University of Texas at Dallas., 1991.
G. Plaxton. Load balancing, selection and sorting on the hypercube.Proceedings of the Symposium on Parallel Algorithms and Architecture, pp. 64–73, 1989.
G. Plaxton. On the network complexity of selection.Proceedings of the Symposium on the Foundations of Computer Science, pp. 396–401, 1989.
S. Rajasekaran. Randomized parallel selection. InFoundations of Software Technology and Theoretical Computer Science, pp. 176–184. Lecture Notes in Computer Science, Vol. 472. Springer-Verlag, Berlin, 1990.
S. Rajasekaran and T. Tsantilas. Optimal algorithms for routing on the mesh.Algorithmica, 8:21–38, 1992.
R. Reischuk. Probabilistic parallel algorithms for sorting and selection.SIAM Journal of Computing, 14(2):396–411, May 1985.
C. Schnorr and A. Shamir. An optimal sorting algorithm for mesh-connected computers.Proceedings of the Symposium on the Theory of Computation, pp. 255–263, 1986.
C. Thompson and H. Kung. Sorting on a mesh connected parallel computer.Communications of the ACM, 20:263–270, 1977.
L. Valiant. Parallelism in comparison problems.SIAM Journal of Computing, 4:348–355, 1975.
U. Vishkin. An optimal parallel algorithm for selection. InAdvances in Computing Research, pp. 79–85. JAI Press, Greenwich, CT, 1987.
Author information
Authors and Affiliations
Additional information
Communicated by N. Megiddo.
This research was done while all three authors were at the University of Rochester, New York.
Rights and permissions
About this article
Cite this article
Krizanc, D., Narayanan, L. & Raman, R. Fast deterministic selection on mesh-connected processor arrays. Algorithmica 15, 319–331 (1996). https://doi.org/10.1007/BF01961542
Received:
Revised:
Issue Date:
DOI: https://doi.org/10.1007/BF01961542