English

Strongly connected components-Algorithm for finding the strongly connected components of a graph

Data Structures and Algorithms 2018-02-16 v1

Abstract

A directed graph G (V, E) is strongly connected if and only if, for a pair of vertices X and Y from V, there exists a path from X to Y and a path from Y to X. In Computer Science, the partition of a graph in strongly connected components is represented by the partition of all vertices from the graph, so that for any two vertices, X and Y, from the same partition, there exists a path from X to Y and a path from Y to X and for any two vertices, U and V, from different partition, the property is not met. The algorithm presented below is meant to find the partition of a given graph in strongly connected components in O (numberOfNodes + numberOfEdges * log* (numberOfNodes)), where log* function stands for iterated logarithm.

Keywords

Cite

@article{arxiv.1802.05387,
  title  = {Strongly connected components-Algorithm for finding the strongly connected components of a graph},
  author = {Vlad-Andrei Munteanu},
  journal= {arXiv preprint arXiv:1802.05387},
  year   = {2018}
}

Comments

7 pages, 5 sequences of code

R2 v1 2026-06-23T00:23:03.571Z