High-Probability Parallel Transitive-Closure Algorithms
- 1 February 1991
- journal article
- Published by Society for Industrial & Applied Mathematics (SIAM) in SIAM Journal on Computing
- Vol. 20 (1) , 100-125
- https://doi.org/10.1137/0220006
Abstract
There is a straightforward algorithm for computing the transitive-closure of an n-node graph in $O(\log ^2 n)$ time on an EREW-PRAM, using $n^3 / \log n$ processors, or indeed with $M(n) / \log n$ processors if serial matrix multiplication in $M(n)$ time can be done. This algorithm is within a log factor of optimal in work (processor-time product), for solving the all-pairs transitive-closure problem for dense graphs. However, this algorithm is far from optimal when either (a) the graph is sparse, or (b) we want to solve the single-source transitive-closure problem. It would be ideal to have an $\mathcal{NC}$ algorithm for transitive-closure that took about e processors for the single-source problem on a graph with n nodes and $e \geqq n$ arcs, or about $en$ processors for the all-pairs problem on the same graph. While an algorithm that good cannot be offered, algorithms with the following performance can be offered. (1) For single-source, $\tilde{O}(n^\varepsilon )$ time with $\tilde O(en^{1 - 2\varepsil...
Keywords
This publication has 5 references indexed in Scilit:
- An improved parallel algorithm that computes the BFS numbering of a directed graphInformation Processing Letters, 1988
- An improved algorithm for transitive closure on acyclic digraphsPublished by Springer Nature ,1986
- An O(logn) parallel connectivity algorithmJournal of Algorithms, 1982
- An Algorithm for Transitive Closure with Linear Expected TimeSIAM Journal on Computing, 1978
- The Parallel Evaluation of General Arithmetic ExpressionsJournal of the ACM, 1974