Abstract
In this paper we describe a technique for finding efficient parallel algorithms for problems on directed graphs that involve checking the existence of certain kinds of paths in the graph. This technique provides efficient algorithms for finding dominators in flow graphs, performing interval and loop analysis on reducible flow graphs, and finding the feedback vertices of a digraph. Each of these algorithms takesO(log2 n) time using the same number of processors needed for fast matrix multiplication. All of these bounds are for an EREW PRAM.
Similar content being viewed by others
References
A. Aggarwal, R. Anderson, and M. Kao, Parallel Depth-First Search in General Directed Graphs,Proc. ACM Symp. on the Theory of Computing, 1989, pp. 297–308.
A. V. Aho, R. Sethi, and J. D. Ullman,Compilers: Principles, Techniques, and Tools, Addison-Wesley, Reading, MA, 1986.
A. V. Aho and J. D. Ullman,Principles of Compiler Design, Addison-Wesley, Reading, MA, 1977.
M. J. Atallah, S. R. Kosaraju, L. L. Larmore, G. L. Miller, and S-H. Teng, Constructing Trees in Parallel, Proc.ACM Symp. on Parallel Algorithms and Architectures, June, 1989, pp. 421–431.
M. Atallah and U. Vishkin, Finding Euler Tours in Parallel,J. Comput. System Sci.,29 (1984), 3303–337.
D. Coppersmith and S. Winograd, Matrix Multiplication via Arithmetic Progressions,Proc. ACM Symp. on the Theory of Computing, 1987, pp. 1–6.
H. N. Gabow and R. E. Tarjan, A Linear Time Algorithm for a Special Case of Disjoint Set Union,J. Comput. System Sci.,30 (1985), 209–221.
M. R. Garey and R. E. Tarjan, A Linear Time Algorithm for Finding all Feedback Vertices,Inform. Process. Lett.,7(6) (1978), 274–276.
H. Gazit and G. L. Miller, An Improved Parallel Algorithm that Computes the BFS Numbering of a Directed Graph,Inform. Process. Lett.,28 (1988), 61–65.
P. Gibbons, R. Karp, V. Ramachandran, D. Soroker, and R. Tarjan, Transitive Reduction in Parallel Via Branchings, Technical Report CS-TR-171-88, Princeton University, July, 1988.
S. L. Graham and M. Wegman, A Fast and Usually Linear Algorithm for Global Flow Analysis,J. Assoc. Comput. Mach.,23(1) (1976), 172–202.
D. Harel, A Linear Time Algorithm for Finding Dominators in Flow Graphs and Related Problems,Proc. ACM Symp. on the Theory of Computing, 1985, pp. 185–194.
M. Hecht,Flow Analysis of Computer Programs, Elsevier, New York, 1977.
M. S. Hecht and J. D. Ullman, Characterizations of Reducible Flow Graphs,J. Assoc. Comput. Mach.,21 (1974), 367–375.
D. S. Hirschberg, Parallel Algorithms for the Transitive Closure and the Connected Components Problems,Proc. ACM Symp. on the Theory of Computing, 1976, pp. 55–57.
R. Karp and V. Ramachandran, A Survey of Parallel Algorithms for Shared-Memory Machines, inHandbook of Theoretical Computer Science, North Holland, Amsterdam, to appear.
T. Lengauer and R. E. Tarjan, A Fast Algorithm for Finding Dominators in a Flow Graph,ACM Trans. Program. Languages Systems,1(1) (1979), 121–141.
L. Lovasz, Computing Ears and Branchings in Parallel,Proc. IEEE Symp. on Foundations of Computer Science, 1985, pp. 196–205.
J. M. Lucas and M. Gunsher Sackrowitz, Efficient Parallel Algorithms for Path Problems in Directed Graphs,Proc. ACM Symp. on Parallel Algorithms and Architectures, June, 1989, pp. 369–378.
S. R. Pawagi, P. S. Gopalakrishnan, and I. V. Ramakrishnan, Computing Dominators in Parallel,Inform. Process. Lett.,24 (1987), 217–221.
P. W. Purdom and E. F. Moore, Algorithm 430: Immediate Predominators in a Directed Graph,Comm. ACM,15(8) (1972), 777–778.
V. Ramachandran, Fast and Processor-Efficient Parallel Algorithms for Reducible Flow Graphs, Tech. Rep. 2257, Department of Engineering, University of Illinois, Urbana, November 1988.
J. Reif, Depth First Search is Inherently Sequential,Inform. Process. Lett.,20 (1985), 229–234.
C. Savage, Parallel Algorithms for Some Graph Problems, Tech. Rep. 784, Department of Mathematics, University of Illinois, Urbana, 1977.
G. W. Smith and R. B. Walford, The Identification of a Minimal Feedback Vertex of a Directed Graph,IEEE Trans. Circuits and Systems,22 (1975), 9–15.
R. Tamassia and J. S. Vitter, Optimal Parallel Algorithms for Transitive Closure and Point Location in Planar Structures,Proc. ACM Symp. on Parallel Algorithms and Architectures, June, 1989, pp. 399–408.
R. E. Tarjan, Finding Dominators in Directed Graphs,SIAM J. Comput.,3(1) (1974), 62–89.
R. E. Tarjan, Testing Flow Graph Reducibility,J. Comput. System Sci.,9 (1974), 355–365.
R. E. Tarjan and U. Vishkin, An Efficient Parallel Biconnectivity Algorithm,SIAM J. Comput.,14(4) (1985), 862–874.
Author information
Authors and Affiliations
Additional information
Communicated by Greg N. Frederickson.
Rights and permissions
About this article
Cite this article
Lucas, J.M., Sackrowitz, M.G. Efficient parallel algorithms for path problems in directed graphs. Algorithmica 7, 631–648 (1992). https://doi.org/10.1007/BF01758780
Received:
Revised:
Issue Date:
DOI: https://doi.org/10.1007/BF01758780