ACM Home Page
Please provide us with feedback. Feedback
A linear algorithm for finding dominators in flow graphs and related problems
Full text PdfPdf (1.00 MB)
Source Annual ACM Symposium on Theory of Computing archive
Proceedings of the seventeenth annual ACM symposium on Theory of computing table of contents
Providence, Rhode Island, United States
Pages: 185 - 194  
Year of Publication: 1985
ISBN:0-89791-151-2
Author
D Harel  Intermetrics Inc., Cambridge, Massachusetts
Sponsor
SIGACT: ACM Special Interest Group on Algorithms and Computation Theory
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 11,   Downloads (12 Months): 67,   Citation Count: 33
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/22145.22166
What is a DOI?

ABSTRACT

In the first part of the paper we show how to extend recent methods for solving a special case of the union-find problem in linear time, to a special case of the eval-link-update problem for computing the minimum function defined on paths of trees. In the cases where our approach is applicable, we give a way to perform m eval, link, and update operations on n elements in O(m + n) time and O(n) space, improved from O(m &agr;(m + n, n) + n) time and O(n) space in the more general case, where &agr; is a functional inverse of Ackermans function. The technique gives similar improvements in the efficiency of algorithms for solving several network optimization problems in the case where all the keys involved are integers in some suitable range. In the second part of the paper we show how to use the new technique for speeding up the fastest known algorithm for finding dominators in flow graphs so that it runs in linear time. We introduce the notions of pseudo and external dominators which are both computable in linear time and make the technique introduced in the first part applicable for finding immediate dominators. We first give an algorithm for a limited class of graphs which include cycle free graphs, and thus can be used to find dominators in reducible flow graphs. We then show how to extend our technique for computing dominators on any flow graph. All the algorithms we describe run on a Random Access Machine.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
AHU74
 
AU72
 
AU77
 
CH78
Chin, F.Y., and Houck, D.J., 'Algorithms for Updating Minimal Cost Spanning Trees,' Jourhal of Computer and S~lstems Science, vol. 16 pp. 333-344, 1978.
 
FT84
Fredman, M.L., and Tarjan, R.E., ~Fibonacci Heaps and Their Uses in Improved Network Optimization Algorithms," Proceedings of the 15th Annual FOCS, Oct. 1984.
F83
 
G77
Gabow, H.N., "Two Algorithms for Generating Weighted Spanning Trees In Order," SIAM Journal of Computing, vol. 6 no. 1, pp. 139-150, March 1977.
GT83
 
H80
Harel, D., 'A Linear Time Algorithm for the Lowest Common Ancesbars Problem", Proceedings 21 {EEE Syrup. on Foundations of Computer Science, pp. 308-319, 1980.
 
H83
Harel, D., "On Line Maintenance of the Connected Components of' Dynamic Graphs," SIAM Journal of Computb~g, To Appear.
 
HT83
 
H77
 
H69
Hu, T.C., Integer Programming and Network Flows, Addison Wesley, Reading, Massachusetts 1969, pp. 129-150.
LM69
LT79
PM72
 
T72
Tarjan, R.E., "Depth First Search and Linear Graph Algorithms," SIAM Journal o)r Computing, vol. 1, pp. 146-160, {972.
 
T74
Tarjan, R.E., "Finding Dominators in Directed Graphs," SIAM Journal on Computing, vol. 3, pp. 62-89, 1974.
T75
T79
 
T83

CITED BY  33