Max-flow-min-cut theorem

from Wikipedia, the free encyclopedia

In the field of graph theory , the Max-Flow-Min-Cut-Theorem describes a sentence that gives a statement about the relationship between maximum flows and minimum cuts in a flow network . The sentence says:

A maximum flow in the network has exactly the value of a minimum cut.

The theorem is a generalization of Menger's theorem . He was independently proven in 1956 by LR Ford Jr. and DR Fulkerson , as well as P. Elias , A. Feinstein and CE Shannon .

Definitions

Let be a finite directed graph with the nodes and the edges . Every edge from node to node has a non-negative capacity. There is also a source node where the network flow begins and a destination node where the network flow ends.

A section is a division of the nodes perpendicular to the network flow into two disjoint subsets and for which applies, and . The capacity of a cut is the sum of all edge capacities from to , i.e.

.

sentence

The following three statements are equivalent:

  1. is the maximum flow in .
  2. The residual network does not contain an augmenting path .
  3. For at least one cut , the value of the flow is equal to the capacity of the cut :

Evidence sketch

  • If there were an augmenting path, one could enlarge the river along it; thus the flow cannot have been maximal.
  • If there is no augmenting path, then divide the graph into , the nodes reachable in the residual network, and , the rest. Then is (if it weren't for 0, it would have been reachable). Then for this cut .
  • If it were n't for the maximum, it could be enlarged. Since the capacity of each cut is less than or equal to, the capacity cannot yet be used for at least one cut; in addition, no section applies , because otherwise there would be no augmenting path for the flow enlargement and the flow would be maximal.

In particular, this shows that the maximum flow is equal to the minimum cut: because of 3. it has the size of at least one cut, i.e. at least the smallest, and because of 2. also at most this value, because the residual network already reaches the size of the smallest cut can no longer contain an augmenting path.

example

A network with maximum flow and three minimum cuts
The residual network of the example network

Let the flow network with the nodes be given, and a maximum flow from the source to the sink of size 5.

There are three minimal cuts in this network:

cut capacity

Note: For all other cuts, the sum of the capacities (not to be confused with the flow) of the outgoing edges is greater than or equal to 6. For example, there is no minimum cut because the sum of the capacities of the outgoing edges is the same . Furthermore, there is no minimum cut, although and are fully used; because there is still an edge (r, q) of the remaining capacity in the residual network .

Algorithm for finding minimal cuts

There are different algorithms for finding minimal cuts. The following algorithm finds the edges of a minimal cut directly from the residual network and thus makes use of the properties of the Max-Flow-Min-Cut theorem. For example, the residual flow graph can be generated using the Ford and Fulkerson algorithm.

 ein endlicher gerichteter Graph mit einer Quelle , einer Senke  und jede Kante habe eine nichtnegative Kapazität.
findeKantenEinesMinCut()
1 Residualnetzwerk()
2 
3 
4 Für jeden Knoten 
5  Wenn Pfad() in  existiert
6  dann 
7  ansonsten 
8 
9 Für jede Kante 
10 Wenn startKnoten() und endKnoten() liegt
11  dann 
12  ist jetzt die Menge der Kanten für einen minimalen Schnitt

would contain the cut edges of in the example above .

literature

Web links

Individual evidence

  1. ^ LR Ford Jr., DR Fulkerson: Maximum flow through a network . In: Canad. J. Math. . 8, 1956, pp. 399-404. doi : 10.4153 / CJM-1956-045-5 .
  2. ^ P. Elias, A. Feinstein, CE Shannon: Note on Maximum Flow Through a Network . In: IRE Trans. On Information Theory, IT . 2, No. 4, 1956, pp. 117-119. doi : 10.1109 / TIT.1956.1056816 .