Skip to content

Incremental Exact Vertex Connectivity

Felix Adena, Monika Henzinger, Christoph Kern, Daniel Rutschmann

cs.DS

Abstract

We study the problem of maintaining the vertex connectivity κκ of a graph under edge insertions. For undirected graphs, our algorithm uses O(κ4log⁡2n)O(κ^4 \log^2 n) amortized time per edge insertion. After each edge insertion, the algorithm outputs the current value of κκ, plus a set of κκ vertices whose removal disconnects the graph. Our algorithm is Monte-Carlo randomized and works with a randomness-adaptive adversary. The algorithm also works on directed graphs against an oblivious adversary, which is equivalent to an output-adaptive adversary if we only have to output the current value of κκ. Previously, algorithms using SPQR trees could maintain the vertex connectivity in undirected graphs with O(log⁡n)O(\log n) time per edge insertion for κ≤3κ\le 3, but no algorithm with o(n)o(n) time per edge insertion was known for κ≥4κ\ge 4. Moreover, for κ≥4κ\ge 4, on general directed graphs or sparse undirected graphs, no algorithm faster than recomputation from scratch was known. We complement our algorithm with a conditional lower bound: Under the OMv conjecture, any insertions-only algorithm that outputs the current value of κκ after every insertion needs Ω(n1−ε)Ω(n^{1-\varepsilon}) amortized time per edge insertion for κ=Θ(n)κ= Θ(n). Previous conditional lower bounds for this problem only apply to worst case running time, or algorithms that support both edge insertions and edge deletions.

Create a lesson