English

Engineering Nearly Linear-Time Algorithms for Small Vertex Connectivity

Data Structures and Algorithms 2021-03-30 v1

Abstract

Vertex connectivity is a well-studied concept in graph theory with numerous applications. A graph is kk-connected if it remains connected after removing any k1k-1 vertices. The vertex connectivity of a graph is the maximum kk such that the graph is kk-connected. There is a long history of algorithmic development for efficiently computing vertex connectivity. Recently, two near linear-time algorithms for small k were introduced by [Forster et al. SODA 2020]. Prior to that, the best known algorithm was one by [Henzinger et al. FOCS'96] with quadratic running time when k is small. In this paper, we study the practical performance of the algorithms by Forster et al. In addition, we introduce a new heuristic on a key subroutine called local cut detection, which we call degree counting. We prove that the new heuristic improves space-efficiency (which can be good for caching purposes) and allows the subroutine to terminate earlier. According to experimental results on random graphs with planted vertex cuts, random hyperbolic graphs, and real world graphs with vertex connectivity between 4 and 15, the degree counting heuristic offers a factor of 2-4 speedup over the original non-degree counting version for most of our data. It also outperforms the previous state-of-the-art algorithm by Henzinger et al. even on relatively small graphs.

Keywords

Cite

@article{arxiv.2103.15703,
  title  = {Engineering Nearly Linear-Time Algorithms for Small Vertex Connectivity},
  author = {Max Franck and Sorrachai Yingchareonthawornchai},
  journal= {arXiv preprint arXiv:2103.15703},
  year   = {2021}
}
R2 v1 2026-06-24T00:39:20.080Z