Abstract
In this paper we describe a deterministic algorithm for solving any 1–1 packet-routing problem on ann ×n mesh in 2n−2 steps using constant-size queues. The time bound is optimal in the worst case. The best previous deterministic algorithm for this problem required time 2n+Θ(n/q) using queues of size Θ(q) for any 1≤q≤n, and the best previous randomized algorithm required time 2n+Θ(logn) using constant-size queues.
Similar content being viewed by others
References
D. Kirzanc, S. Rajasekaran, and T. Tsantilas, Optimal Routing Algorithms for Mesh-Connected Processor Arrays,VLSI Algorithms and Architectures: Proc. AWOC'88, Lecture Notes in Computer Science, Vol. 319, Springer-Verlag, Berlin, pp. 411–422.
M. Kunde, Routing and Sorting on Mesh-Connected Arrays,VLSI Algorithms and Architectures: Proc. AWOC'88, Lecture Notes in Computer Science, Vol. 319, Springer-Verlag, Berlin, pp. 423–433.
F. T. Leighton,Introducton to Parallel Algorithms and Architectures: Arrays · Trees · Hypercubes, Morgan Kaufman, San Mateo, CA, 1992.
F. T. Leighton, Methods for Message Routing in Parallel Machines,Proc. 24th ACM Symp. on Theory of Computing, May 1992, pp. 77–96. (Also inTheoretical Computer Science, Vol. 129, July 1994, pp. 31–62.)
F. T. Leighton, F. Makedon, and I. Tollis, A (2n−2)-Step Algorithm for Routing in anN ×N Array with Constant Size Queues,Proc. 1st ACM Symp. on Parallel Algorithms and Architectures, June 1989, pp. 328–335.
S. Rajasekaran and R. Overholt, Constant Queue Routing on a Mesh,Proc. 8th Annual Symp. on Theoretical Aspects of Computer Science, edited by C. Choffrut and M. Jantzen, Lecture Notes in Computer Science, Vol. 480, Springer-Verlag, Berlin, pp. 444–455.
C. Schnorr and A. Shamir, An Optimal Sorting Algorithm for Mesh Connected Computers,Proc. 18th ACM Symp. on Theory of Computing, 1986, pp. 255–263.
C. Thompson and H. T. Kung, Sorting on a Mesh-Connected Parallel Computer,Communications of the Association for Computing Machinery, Vol. 20, 1977, pp. 263–270.
Author information
Authors and Affiliations
Additional information
Communicated by C. K. Wong.
This research was supported by the Clear Center at UTD, DARPA Contracts N00014-91-J-1698 and N00014-92-J-1799, Air Force Contract F49620-92-J-0125, Army Contract DAAL-03-86-K-0171, an NSF Presidential Young Investigator Award with matching funds from AT&T and IBM, and by the Texas Advanced Research Program under Grant No. 3972. A preliminary version of this paper appeared in [5].
Rights and permissions
About this article
Cite this article
Leighton, T., Makedon, F. & Tollis, I.G. A 2n−2 step algorithm for routing in ann ×n array with constant-size queues. Algorithmica 14, 291–304 (1995). https://doi.org/10.1007/BF01294128
Received:
Revised:
Issue Date:
DOI: https://doi.org/10.1007/BF01294128