Computing the 5-Edge-Connected Components in Linear Time
Evangelos Kosinas
Abstract
We provide a deterministic algorithm for computing the 5-edge-connected components of an undirected multigraph in linear time. There were probably good indications that this computation can be performed in linear time, but no such algorithm was actually known prior to this work. Thus, our paper answers a theoretical question, and sheds light on the possibility that a solution may exist for general k. Furthermore, although the algorithm that we provide is quite extensive and broken up into several pieces, it can have an almost-linear time implementation with the use of elementary data structures. A key component in our algorithm is an oracle for answering connectivity queries for pairs of vertices in the presence of at most four edge-failures. Specifically, the oracle has size O(n), it can be constructed in linear time, and it answers connectivity queries in the presence of at most four edge-failures in O(1) time, where n denotes the number of vertices of the graph. We note that this is a result of independent interest.
Our paper can be considered as a follow-up of recent work on computing the 4-edge-connected components in linear time. Specifically, we follow a DFS-based approach in order to compute a collection of 4-edge cuts, that is rich enough in properties for our purposes. Furthermore, we expand the toolkit of DFS-based concepts, and demonstrate its general usefulness. In particular, our oracle for connectivity queries is also based on them. However, in dealing with the computation of the 5-edge-connected components, we are faced with unique challenges that do not appear when dealing with lower connectivity. The problem is that the 4-edge cuts in 3-edge-connected graphs are entangled in various complicated ways, that make it difficult to organize them in a compact way. Here we provide a novel analysis of those cuts, that reveals the existence of various interesting structures. These can be exploited so that we can disentangle and collect only those cuts that are essential in computing the 5-edge-connected components. This analysis may provide a clue for a general solution for the k-edge-connected components, or other related graph connectivity problems.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 95e5193f-cabc-4e4e-b9a1-aad450f734c1Cited by top-tier papers2
- Deterministic Almost-Linear-Time Gomory-Hu TreesAmir Abboud, Rasmus Kyng, Jason Li, Debmalya Panigrahi et al.FOCS 2025 · 10 citations
- Linear-Time Algorithms for k-Edge-Connected Components, k-Lean Tree Decompositions, and MoreTuukka KorhonenSTOC 2025
Builds on5
- Maximum Flow and Minimum-Cost Flow in Almost-Linear TimeLi Chen, Rasmus Kyng, Yang P. Liu, Richard Peng et al.FOCS 2022 · 135 citations
- Breaking the Cubic Barrier for All-Pairs Max-Flow: Gomory-Hu Tree in Nearly Quadratic TimeAmir Abboud, Robert Krauthgamer, Jason Li, Debmalya Panigrahi et al.FOCS 2022 · 16 citations
- Fully Dynamic s-t Edge Connectivity in Subpolynomial Time (Extended Abstract)Wenyu Jin, Xiaorui SunFOCS 2021 · 6 citations
- Optimal vertex connectivity oraclesSeth Pettie, Thatchaphol Saranurak, Longhui YinSTOC 2022 · 5 citations
- Faster Computation of 3-Edge-Connected Components in DigraphsLoukas Georgiadis, Evangelos Kipouridis, Charis Papadopoulos, Nikos ParotsidisSODA 2023 · 3 citations
Related papers
- Computing the 3-Edge-Connected Components of Directed Graphs in Linear TimeLoukas Georgiadis, Giuseppe F. Italiano, Evangelos KosinasFOCS 2024 · 1 citation
- Deterministic Small Vertex Connectivity in Almost Linear TimeThatchaphol Saranurak, Sorrachai YingchareonthawornchaiFOCS 2022 · 4 citations
- Near-Optimal Deterministic Vertex-Failure Connectivity OraclesYaowei Long, Thatchaphol SaranurakFOCS 2022 · 6 citations
- Computing and Testing Small Connectivity in Near-Linear Time and Queries via Fast Local Cut AlgorithmsSebastian Forster, Danupon Nanongkai, Liu Yang, Thatchaphol Saranurak et al.SODA 2020 · 29 citations
- Approximating Directed Connectivity in Almost-Linear TimeKent QuanrudSTOC 2026 · 3 citations
