Publication | Open Access
A new, simpler linear-time dominators algorithm
64
Citations
23
References
1998
Year
Mathematical ProgrammingSimpler Linear-time DominatorsDirected GraphEngineeringComputational Complexity TheoryNetwork AnalysisEducationComputational ComplexityGraph ProcessingData ScienceStructural Graph TheoryDiscrete MathematicsParallel ComputingCombinatorial OptimizationComputational GeometryPath CompressionsComputer EngineeringNew Linear-time AlgorithmImmediate DominatorsComputer ScienceGraph AlgorithmAlgorithmic DevelopmentComputational ScienceGraph TheoryTime ComplexityParallel ProgrammingGraph Analysis
We present a new linear-time algorithm to find the immediate dominators of all vertices in a flowgraph. Our algorithm is simpler than previous linear-time algorithms: rather than employ complicated data structures, we combine the use of microtrees and memoization with new observations on a restricted class of path compressions. We have implemented our algorithm, and we report experimental results that show that the constant factors are low. Compared to the standard, slightly superlinear algorithm of Lengauer and Tarjan, which has much less overhead, our algorithm runs 10-20% slower on real flowgraphs of reasonable size and only a few percent slower on very large flowgraphs.
| Year | Citations | |
|---|---|---|
Page 1
Page 1