Topological Sort

Fancy name. Makes it sound hard: label nodes with depth and then sort?

Essentially a linear schedule so there are no conflicts during dressing. Example.

Claim: A (finite) DAG always has at least one node with no incoming edges and one with no outgoing edges. Proof by contradiction.


next up previous
Next: Data Structures and Notation Up: TOPOLOGICAL SORT Previous: Dressing