Abstract.
Recently it has been discovered that control flow graphs of structured programs (\equiv goto-free) have bounded treewidth t . Moreover, a bounded tree decomposition can be obtained directly from the parsing of the program [23]. In this paper we show that this knowledge can be used to design a fast algorithms for the generalized dominator problem from control flow analysis: given a digraph G=(V,E) with a start node s∈ V , for every v∈ V find the set of predecessors of v that can be reached from s without passing any other predecessors of v . We give an O(|V|t 4 ) algorithm for this problem. The problem was originally proposed by Gupta [12]. Without the restriction to bounded treewidth the fastest algorithm runs in O(|V|*|E|) and is due to Alstrup et al. [2].
Similar content being viewed by others
Explore related subjects
Discover the latest articles and news from researchers in related subjects, suggested using machine learning.Author information
Authors and Affiliations
Additional information
Received January 30, 1997; revised May 14, 1998.
Rights and permissions
About this article
Cite this article
Alstrup, S., Lauridsen, P. & Thorup, M. Generalized Dominators for Structured Programs . Algorithmica 27, 244–253 (2000). https://doi.org/10.1007/s004530010018
Issue Date:
DOI: https://doi.org/10.1007/s004530010018