More Formal Statement

Input is a graph G=(V,E) (possibly with cycles) of n nodes and m directed edges.

Output is a set of components C, and a mapping tex2html_wrap_inline252 from nodes to components of interreachability, and edges D between components denoting one-way reachability.

Properties:

How would you do it?


next up previous
Next: Algorithm Up: STRONGLY CONNECTED COMPONENTS Previous: Definitions