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(N3) processors. Chaudhuri [2], gave an O(log N) algorithm using O(N3) 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 N3 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 N3/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.
Original language | English |
---|---|
Pages (from-to) | 251-258 |
Number of pages | 8 |
Journal | Journal of Supercomputing |
Volume | 24 |
Issue number | 3 |
DOIs | |
Publication status | Published - Mar 2003 |
Externally published | Yes |
Keywords
- Analysis of algorithms
- Graph problem
- Massive parallelism
- Optical bus
- Time complexity