Latih Matematik Diskret

Algorithms / Condensation Dag

Least You Need to Know: Condensation DAGs and Component-Level Ordering

If each SCC is contracted to one node, the resulting graph is a **DAG**. This condensation DAG captures the one-way flow between strongly connected regions and is often the right object for topological reasoning after SCC decomposition.

The least you need to know

Key notation

cond(G) condensation graph of directed graph G
meta-node one strongly connected component viewed as a single node
DAG directed acyclic graph

Tiny worked example

  • Suppose SCC `A` has an edge to SCC `B`, and `B` has an edge to SCC `C`.
  • In the condensation graph, this becomes `A → B → C`.
  • If a cycle among meta-nodes existed, then all those SCCs would actually be mutually reachable and should merge into one larger SCC.
  • That contradiction is why the condensation graph must be acyclic.

Common mistakes

How to recognize this kind of problem

Start practice