Efficiently Computing Directed Minimum Spanning Trees

Maximilian Böther, Otto Kißig, Christopher Weyand
8/4/2022
cs.DS

Official code: chistopher/arbok (14 stars, Jupyter Notebook, last commit 2024-07-24).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

chistopher/arbokOfficial100%

Directed Spanning Trees

145Jupyter Notebook, C++Mar 16, 20212 years ago

Similar Papers

Cite this paper

@article{bther2022efficiently,
  title  = {Efficiently Computing Directed Minimum Spanning Trees},
  author = {Maximilian Böther and Otto Kißig and Christopher Weyand},
  year   = {2022},
  eprint = {2208.02590},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.02590}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2208.02590.svg)](https://codeofpaper.com/paper/2208.02590)

Discussion