|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Hiralal Agrawal, Dominators, super blocks, and program coverage, Proceedings of the 21st ACM SIGPLAN-SIGACT symposium on Principles of programming languages, p.25-34, January 16-19, 1994, Portland, Oregon, United States
|
|
|
|
|
|
|
|
|
R. Cytron , J. Ferrante , B. K. Rosen , M. N. Wegman , F. K. Zadeck, An efficient method of computing static single assignment form, Proceedings of the 16th ACM SIGPLAN-SIGACT symposium on Principles of programming languages, p.25-35, January 11-13, 1989, Austin, Texas, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Daniel Weise , Roger F. Crew , Michael Ernst , Bjarne Steensgaard, Value dependence graphs: representation without taxation, Proceedings of the 21st ACM SIGPLAN-SIGACT symposium on Principles of programming languages, p.297-310, January 16-19, 1994, Portland, Oregon, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Adam L. Buchsbaum , Haim Kaplan , Anne Rogers , Jeffery R. Westbrook, Linear-time pointer-machine algorithms for least common ancestors, MST verification, and dominators, Proceedings of the thirtieth annual ACM symposium on Theory of computing, p.279-288, May 24-26, 1998, Dallas, Texas, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Shivali Agarwal , Rajkishore Barik , Vivek Sarkar , Rudrapatna K. Shyamasundar, May-happen-in-parallel analysis of X10 programs, Proceedings of the 12th ACM SIGPLAN symposium on Principles and practice of parallel programming, March 14-17, 2007, San Jose, California, USA
|
|
|
|
|
|
|
|
|
|
|
|
|
|