Abstract
Topological sort of an acyclic graph has many applications such as job scheduling and network analysis. Due to its importance, it has been tackled on many models. Dekel et al. [3], proposed an algorithm for solving the problem in O(log2 N) time on the hypercube or shuffle-exchange networks with O(N 3) processors. Chaudhuri [2], gave an O(log N) algorithm using O(N 3) processors on a CRCW PRAM model. On the LARPBS (Linear Arrays with a Reconfigurable Pipelined Bus System) model, Li et al. [5] showed that the problem for a weighted directed graph with N vertices can be solved in O(log N) time by using N 3 processors. In this paper, a more efficient topological sort algorithm is proposed on the same LARPBS model. We show that the problem can be solved in O(log N) time by using N 3/log N processors. We show that the algorithm has better time and processor complexities than the best algorithm on the hypercube, and has the same time complexity but better processor complexity than the best algorithm on the CRCW PRAM model.
Similar content being viewed by others
References
S. G. Akl. Parallel Computation: Models and Methods. Prentice-Hall, Upper Saddle River, New Jersey, 1997.
P. Chaudhuri. Parallel Algorithms: Design and Analysis. Prentice-Hall of Australia, 1992.
E. Dekel, D. Nassimi, and S. Sahni. Parallel matrix and graph algorithms. SIAM Journal on Computing, 10:857-675, 1981.
Joseph JáJá. An Introduction to Parallel Algorithms. Addison-Wesley Publishing Company, Reading, Massachusetts, 1992.
K. Li. Constant time boolean matrix multiplication on a linear array with a reconfigurable pipelined bus system. Journal of Supercomputing, 11(4):391-403, 1997.
K. Li, Y. Pan and S. Q. Zheng. Fast and processor efficient parallel matrix multiplication algorithms on a linear array with reconfigurable pipelined bus system. IEEE Transactions on Parallel and Distributed Systems, 9(8):705-720, 1998.
K. Li, Y. Pan, and M. Hamdi. Solving graph theory problems using reconfigurable pipelined optical buses. Parallel Computing, 26(6):723-735, 2000.
J. Ma, K. Iwama, T. Takaoka, and Q.-P. Gu. Efficient parallel and distributed topological sort algorithms. In Proc. 2nd Aizu International Symp. on Parallel Algorithms/Architecture Synthesis, pp. 378-383, 1997.
R. Melhem, D. Chiarulli, and S. Levitan. Space multiplexing of waveguides in optically interconnected multiprocessor systems. The Computer Journal, 32(4):362-369, 1989.
Y. Pan and K. Li. Linear array with a reconfigurable pipelinedbus system—concepts and applications. Information Sciences—An International Journal, 106(3/4):237-258, 1998. A preliminary version appeared In Proceedings of International Conference on Parallel and Distributed Processing Techniques and Applications, Vol. III, pp. 1431-1442, August 1996.
S. Pavel and S. G. Akl. On the power of arrays with optical pipelined buses. In Proc. 1996 International Conf. on Parallel and Distributed Processing Techniques and Applications, pp. 1443-1454, Sunnyvale, California, Aug. 1996.
S. Pavel and S. G. Akl. Matrix operations using arrays with reconfigurable optical buses. Parallel Algorithms and Applications, 11:223-242, 1996.
S. Pavel and S. G. Akl. Integer sorting androuting in arrays with reconfigurable optical bus. In Proc. 1996 International Conf. on Parallel Processing, Vol. III, pp. 90-94, August 1996.
S. Rajasekaran and S. Sahni. Sorting, selection and routing on the arrays with reconfigurable optical buses. IEEE Transactions on Parallel and Distributed Systems, 8(11):1123-1132, 1997.
B. F. Wang and G. H. Chen. Constant time algorithms for the transitive closure and some related graph problems on processor arrays with reconfigurable bus systems. IEEE Transactions on Parallel and Distributed Systems, 1:500-507, 1990.
Author information
Authors and Affiliations
Rights and permissions
About this article
Cite this article
Li, J., Pan, Y. & Shen, H. More Efficient Topological Sort Using Reconfigurable Optical Buses. The Journal of Supercomputing 24, 251–258 (2003). https://doi.org/10.1023/A:1022080713267
Issue Date:
DOI: https://doi.org/10.1023/A:1022080713267