maximum flow minimum cut Flashcards
what are the steps to finding the maximum flow?
- identify the source (S) and the sink (T)
- find paths from S to T
- identify the sturated arcs
- find the excess capacities
- find alternate routes from S to T that do not include saturated arcs
- continue until no more paths
- the maximum flow is the total volume leaving the source (also the total volume coming into the sink)
Find the maximum flow
What is a cut ?
A set of edges that separates the networks into two parts, one with the source and the other with the sink
How can this example cut be defined in vertices
What is the capacity of the cut?
The sum of all the capacities of edges that are directed from the part containing the source S, to the part containing the sink, T
What is the capacity of this cut?
21
What is the maximum flow minimum cut Therom?
The value of the maximum flow = the value of the minimum cut
what is a super source super sink?
- super source is where all sources spout out from
- super sink is where all sinks lead to
The minimum cut has as many arcs that are saturated. A cut must separate the sink from the source entirely