arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1604.02711cs.DS
收藏

动态控制器的实验研究

An Experimental Study of Dynamic Dominators

Loukas Georgiadis, Giuseppe F. Italiano, Luigi Laura, Federico Santaroni

摘要:

出于最近的支配者计算的应用,我们考虑通过一系列的插入和删除的边缘动态地保持流图的支配者的问题。我们的主要理论贡献是一个简单的增量算法,通过在$O(m\min\{n,k\}+kn)$的时间,其中$m$是所有插入后的边缘的总数的$n$顶点通过一系列的$k$边插入流图的支配树。此外,我们可以在恒定的时间内测试,如果一个顶点$u$支配一个顶点$v$,对于任何一对查询顶点$u$和$v$。接下来,我们提出了一个新的递减算法,通过一系列的边缘删除更新的支配树。虽然我们的新的递减算法并不比静态算法的重复应用渐近快,即,它在$O(mk)$时间内运行用于$k$边缘删除,在实践中表现良好。通过结合我们的新的增量和减量算法,我们得到了一个完全动态的算法,通过混合序列的插入和删除的边缘,保持支配树。最后,我们提出了有效的实现我们的新算法以及现有的算法,并进行了广泛的实验研究,从各种应用领域的现实世界的图形。

英文摘要:

Motivated by recent applications of dominator computations, we consider the problem of dynamically maintaining the dominators of flow graphs through a sequence of insertions and deletions of edges. Our main theoretical contribution is a simple incremental algorithm that maintains the dominator tree of a flow graph with $n$ vertices through a sequence of $k$ edge insertions in $O(m\min\{n,k\}+kn)$ time, where $m$ is the total number of edges after all insertions. Moreover, we can test in constant time if a vertex $u$ dominates a vertex $v$, for any pair of query vertices $u$ and $v$. Next, we present a new decremental algorithm to update a dominator tree through a sequence of edge deletions. Although our new decremental algorithm is not asymptotically faster than repeated applications of a static algorithm, i.e., it runs in $O(mk)$ time for $k$ edge deletions, it performs well in practice. By combining our new incremental and decremental algorithms we obtain a fully dynamic algorithm that maintains the dominator tree through intermixed sequence of insertions and deletions of edges. Finally, we present efficient implementations of our new algorithms as well as of existing algorithms, and conduct an extensive experimental study on real-world graphs taken from a variety of application areas.

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

↑