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

高效计算有向最小生成树

Efficiently Computing Directed Minimum Spanning Trees

Maximilian Böther, Otto Kißig, Christopher Weyand

摘要:

计算有向最小生成树,称为树形图,是一个基本的算法问题,虽然不像它的无向对应物那样常见。1967年,埃德蒙兹讨论了一个优雅的解决方案。Tarjan将其改进为在$O(\min(n^2, m\log n))$中运行,这对于非常密集和非常稀疏的图形是最佳的。Gabow等人~给出了一个版本的埃德蒙兹的算法,运行在$O(n\log n + m)$,从而渐近击败Tarjan变种之间的制度稀疏和密集。尽管注意的问题,理论上收到的,存在的,据我们所知,没有经验评估这些算法。事实上,Gabow等人的版本。从未实现过,除了编码竞赛,所有可用的Tarjan实现都运行在$O(n^2)$中。在本文中,我们提供了Gabow等人版本的第一个实现。以及Tarjan版本的五个变体,它们具有不同的底层数据结构。我们评估这些算法和现有的求解器上的一个大的现实世界和随机图。

英文摘要:

Computing a directed minimum spanning tree, called arborescence, is a fundamental algorithmic problem, although not as common as its undirected counterpart. In 1967, Edmonds discussed an elegant solution. It was refined to run in $O(\min(n^2, m\log n))$ by Tarjan which is optimal for very dense and very sparse graphs. Gabow et al.~gave a version of Edmonds' algorithm that runs in $O(n\log n + m)$, thus asymptotically beating the Tarjan variant in the regime between sparse and dense. Despite the attention the problem received theoretically, there exists, to the best of our knowledge, no empirical evaluation of either of these algorithms. In fact, the version by Gabow et al.~has never been implemented and, aside from coding competitions, all readily available Tarjan implementations run in $O(n^2)$. In this paper, we provide the first implementation of the version by Gabow et al.~as well as five variants of Tarjan's version with different underlying data structures. We evaluate these algorithms and existing solvers on a large set of real-world and random graphs.

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

↑