Overview
Transitive reduction keeps a directed graph's reachability relation but removes edges whose endpoints remain connected through a longer path.
Removes directed edges that are implied by alternate paths while preserving reachability.
Compact metadata for implementation and discovery.
Transitive reduction keeps a directed graph's reachability relation but removes edges whose endpoints remain connected through a longer path.
Quick facts
Runtime and memory behavior at a glance.
Best
O(V + E)
Average
O((V + E) log V)
Worst
O(V^2 + E)
Space
O(V + E)
Show removing reachability edges that are implied by other directed paths on a small transitive reduction example.
For DAGs the transitive reduction is unique; cyclic directed graphs need more careful interpretation.
What each reference supports for this entry.
Textbook support for Transitive Reduction's algorithm family, complexity framing, and standard implementation concepts.
Open sourceAlgorithm catalog support for Transitive Reduction in the graph, flow, matching, and combinatorial optimization benchmark area.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Transitive Reduction and Warshall's Algorithm both relate to transitive reduction, but use different structures or assumptions.
Transitive Reduction and Chordal Graph Recognition both relate to transitive reduction, but use different structures or assumptions.