These are maximal subsets of vertices reachable from each other in a directed graph.
, ,
Computing SCCs
- DFS on
- Visit all vertices
- Store all finish times
- Accumulate verticies in reverse finish-time order
- Compute Adjacency List of
- DFS on
- Use above order to pick start/restart vertices
- Each tree found has vertices of one Strongly Connected Component