English

On Low-High Orders of Directed Graphs: Incremental Algorithms and Applications

Data Structures and Algorithms 2016-08-24 v1

Abstract

A flow graph G=(V,E,s)G=(V,E,s) is a directed graph with a distinguished start vertex ss. The dominator tree DD of GG is a tree rooted at ss, such that a vertex vv is an ancestor of a vertex ww if and only if all paths from ss to ww include vv. The dominator tree is a central tool in program optimization and code generation and has many applications in other diverse areas including constraint programming, circuit testing, biology, and in algorithms for graph connectivity problems. A low-high order of GG is a preorder δ\delta of DD that certifies the correctness of DD and has further applications in connectivity and path-determination problems. In this paper, we first consider how to maintain efficiently a low-high order of a flow graph incrementally under edge insertions. We present algorithms that run in O(mn)O(mn) total time for a sequence of mm edge insertions in an initially empty flow graph with nn vertices.These immediately provide the first incremental certifying algorithms for maintaining the dominator tree in O(mn)O(mn) total time, and also imply incremental algorithms for other problems. Hence, we provide a substantial improvement over the O(m2)O(m^2) simple-minded algorithms, which recompute the solution from scratch after each edge insertion. We also show how to apply low-high orders to obtain a linear-time 22-approximation algorithm for the smallest 22-vertex-connected spanning subgraph problem (2VCSS). Finally, we present efficient implementations of our new algorithms for the incremental low-high and 2VCSS problems and conduct an extensive experimental study on real-world graphs taken from a variety of application areas. The experimental results show that our algorithms perform very well in practice.

Keywords

Cite

@article{arxiv.1608.06462,
  title  = {On Low-High Orders of Directed Graphs: Incremental Algorithms and Applications},
  author = {Loukas Georgiadis and Aikaterini Karanasiou and Giannis Konstantinos and Luigi Laura},
  journal= {arXiv preprint arXiv:1608.06462},
  year   = {2016}
}
R2 v1 2026-06-22T15:27:46.095Z