learngraphtheory.org

Interactive Graph Theory Learning

Guest User

Using app without sign in

Algorithm Selection

Minimum Cut

Finds minimum capacity cut separating source from sink

Time: O(V²E)
Space: O(V²)
Use Case: Network reliability, image segmentation, clustering

Algorithm Execution

Select an algorithm and generate steps to begin visualization

About Minimum Cut

A minimum cut is the cheapest set of edges whose removal disconnects the sink from the source in a flow network. The max-flow min-cut theorem states its capacity equals the maximum flow, so computing one solves the other.

How it works

After running any maximum flow algorithm, the minimum cut is recovered by finding all vertices still reachable from the source in the residual graph; every full edge from that reachable set to the rest is a cut edge. For global minimum cuts without a fixed source and sink, the Stoer-Wagner algorithm contracts vertices in O(V cubed) time and Karger's randomized contraction gives an elegant probabilistic alternative.

Applications

Minimum cuts identify network bottlenecks and vulnerabilities, split images into foreground and background in computer vision, partition circuits in VLSI design, and measure community boundaries in social networks. Understanding the duality with max flow is a hallmark of strong algorithm candidates.

Read the full article: Network Flow: Max-Flow and Min-Cut

Related algorithms: Maximum Flow, Bridge Finding

Interactive Controls
Basic Actions
Double Click → Add Node
Drag → Move Nodes
Shift + Click → Connect Nodes
Right Click → Context Menu
Advanced
Ctrl + Click → Multi-Select
Delete Key → Remove Selected
Double Click Edge → Edit Weight
Ctrl + Drag → Pan View

Zoom Controls

100%
Nodes: 4
Edges: 4