arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1608.06462cs.DS
收藏

有向图的低-高阶:增量算法及其应用

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

Loukas Georgiadis, Aikaterini Karanasiou, Giannis Konstantinos, Luigi Laura

摘要:

流图$G=(V,E,s)$是具有可区分的起始顶点$s$的有向图。$G$的支配树$D$是以$s$为根的树,使得当且仅当从$s$到$w$的所有路径包括$v$时,顶点$v$是顶点$w$的祖先。支配树是程序优化和代码生成的核心工具,在其他不同的领域有许多应用,包括约束编程,电路测试,生物学和图连通性问题的算法。$G$的低-高阶是$D$的前序$δ$,它证明了$D$的正确性,并在连通性和路径确定问题中有进一步的应用。在本文中,我们首先考虑如何有效地保持低-高阶的流图增量下的边插入。我们提出的算法,运行在$O(mn)$总时间为一个序列的$m$边插入在一个最初的空流图的$n$顶点。这些立即提供了第一个增量证明算法在$O(mn)$总时间的支配树,也意味着其他问题的增量算法。因此,我们提供了一个实质性的改进$O(m^2)$简单的算法,重新计算解决方案从头开始后,每个边缘插入。我们还展示了如何应用低高阶获得最小$2$ -顶点连接生成子图问题(2 VCSS)的线性时间$2$ -近似算法。最后,我们提出了有效的实现我们的新算法的增量低-高和2 VCSS的问题,并进行了广泛的实验研究,从各种应用领域的现实世界的图形。实验结果表明,我们的算法在实践中表现得很好。

英文摘要:

A flow graph $G=(V,E,s)$ is a directed graph with a distinguished start vertex $s$. The dominator tree $D$ of $G$ is a tree rooted at $s$, such that a vertex $v$ is an ancestor of a vertex $w$ if and only if all paths from $s$ to $w$ include $v$. 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 $G$ is a preorder $δ$ of $D$ that certifies the correctness of $D$ 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)$ total time for a sequence of $m$ edge insertions in an initially empty flow graph with $n$ vertices.These immediately provide the first incremental certifying algorithms for maintaining the dominator tree in $O(mn)$ total time, and also imply incremental algorithms for other problems. Hence, we provide a substantial improvement over the $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 $2$-approximation algorithm for the smallest $2$-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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑