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

全动态单源可达性的实验研究

Fully Dynamic Single-Source Reachability in Practice: An Experimental Study

Kathrin Hanauer, Monika Henzinger, Christian Schulz

摘要:

给定一个有向图和一个源顶点,全动态单源可达性问题是维护从给定顶点可达的顶点集,受边删除和插入。它是图中最基本的问题之一,直接或间接地出现在许多不同的应用中。虽然已经有关于这个问题的理论工作,显示了完全动态问题的线性条件下界和仅插入和仅删除的上界击败这些条件下界,但还没有实验研究比较完全动态可达性算法在实践中的性能。以前的实验研究在这方面只集中在更一般的所有对可达性或传递闭包问题,并没有使用真实世界的动态图。在本文中,我们弥合这一差距的经验研究了一套广泛的算法的单源可达性问题的完全动态设置。特别是,我们设计了几个完全动态的变种,众所周知的方法来获得和维护可达性信息相对于一个杰出的来源。此外,我们扩展了现有的插入或删除只有上界到全动态算法。即使我们评估的所有完全动态算法的每次操作的最坏情况时间至少在图中的边的数量上是线性的(正如预期的那样,给出了条件下界),我们在我们广泛的实验评估中表明,它们的性能差异很大,无论是在生成的还是在真实世界的实例上。

英文摘要:

Given a directed graph and a source vertex, the fully dynamic single-source reachability problem is to maintain the set of vertices that are reachable from the given vertex, subject to edge deletions and insertions. It is one of the most fundamental problems on graphs and appears directly or indirectly in many and varied applications. While there has been theoretical work on this problem, showing both linear conditional lower bounds for the fully dynamic problem and insertions-only and deletions-only upper bounds beating these conditional lower bounds, there has been no experimental study that compares the performance of fully dynamic reachability algorithms in practice. Previous experimental studies in this area concentrated only on the more general all-pairs reachability or transitive closure problem and did not use real-world dynamic graphs. In this paper, we bridge this gap by empirically studying an extensive set of algorithms for the single-source reachability problem in the fully dynamic setting. In particular, we design several fully dynamic variants of well-known approaches to obtain and maintain reachability information with respect to a distinguished source. Moreover, we extend the existing insertions-only or deletions-only upper bounds into fully dynamic algorithms. Even though the worst-case time per operation of all the fully dynamic algorithms we evaluate is at least linear in the number of edges in the graph (as is to be expected given the conditional lower bounds) we show in our extensive experimental evaluation that their performance differs greatly, both on generated as well as on real-world instances.

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

↑