Algorithmic Solutions > LEDA > LEDA Guide > Graph Algorithms > Basic Graph Algorithms > Strongly Connected Components

Strongly Connected Components

What are Strongly Connected Components of a Graph?

A directed graph is called strongly connected if for every pair of vertices u and v there is a path from u to v and a path from v to u. The strongly connected components of a directed graph are its maximal strongly connected subgraphs.

What are Strongly Connected Components good for?

Many algorithms for directed graphs begin with a decomposition of the graph into its strongly connected components. This often allows to divide the original problem into smaller subproblems, one for each components.

Example of how to compute strongly connected components

Running Time

The running time is linear in the size of the graph (O(|V|+|E|)).

See also:

Basic Graph Algorithms

Graphs and Related Data Types

GraphWin for visualizing graphs and graph algorithms


Manual Entries:

Manual Page Basic Graph Algorithms




Please send any suggestions, comments or questions to leda@algorithmic-solutions.com
© Copyright 2001-2003, Algorithmic Solutions Software GmbH