Finding 2-Edge and 2-Vertex Strongly Connected Components in Quadratic Time

Abstract

We present faster algorithms for computing the 2-edge and 2-vertex strongly connected components of a directed graph, which are straightforward generalizations of strongly connected components. While in undirected graphs the 2-edge and 2-vertex connected components can be found in linear time, in directed graphs only rather simple O(m n)-time algorithms were known. We use a hierarchical sparsification technique to obtain algorithms that run in time O(n2). For 2-edge strongly connected components our algorithm gives the first running time improvement in 20 years. Additionally we present an O(m2 / n)-time algorithm for 2-edge strongly connected components, and thus improve over the O(m n) running time also when m = O(n). Our approach extends to k-edge and k-vertex strongly connected components for any constant k with a running time of O(n2 2 n) for edges and O(n3) for vertices.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…