Chapter 4 More Networks: Network Flows (min Max Cuts Etc ) Flashcards
What are network flows all about?
Why we use them
Bsdicslly like before we were trying to find minimum length, or route for pipes, but while we can find this we dint know if in REAL life this could work
For example I found the shortest way through the network, but can they actually allow the REQUIRED volume of water through? Or can the shortest paths in a fire exit allow enough people to go without being trampled
So we hse network flows to model flow of something and see if it’s possible to still achieve
So what is a network flow
Network showing the flow of capacity from a source to a sink
So we introduce idea of flow, going from a SOURCE to a SINK (all flow goes out, all flow goes in), where the arc weights now represent MAXIMUM CAPACITY OF FLOW through the pipe
What’s difference between feasible flow diagram and capacity diagram
Can they be shown on same diagram?
Capacity diagram just shows max capacities in each ARC
However feasible flow diagram shows actual flow that works based on capacities and rules
These could be superimposed on Esch other with feasible circled for example
What are rules about feasibility?
Maximum flow in the WHOLE diagram is capped to what?
Flow going in MUST equal flow going out
2) check max flow going into sink, this means this value is capped at max flow that could potentially leave the system
From a route , how to find total flow (fesbdile disgeam)
And looking at capacity diagram hoe to find maximum flow through a route
1) check the LOWEST flow , this is the total flow that can possible go through
2) again check lowest flow as this is THE MAX that can go through even though at different places more can go through, its limited to this
Two conditions for a network flow to be feasible
Flow in = flow out
Each arc weight is under or = to capacity
How to show a network flow of paths is FEASIBLE - what tables to draw
1) draw a table of ARC flow vs capacity
2) then a table of flow in and flow out
For each letter
Basically for each path, add the number of flow to EACH ARC, shown with + signs
- prove feasible if none of these exceed capacity p
Then show that total flow in = flow out of the letters, again showing flow and how this comes from different paths using + signs
When it says SABT has flow 5, what flow does each arc have?
Each arc will thus have 5 FLOW EACH, SA, AB and BT all have 5 flow
How do we find the maximum flow that can go through a network then, is there an algorithm, (what do we use)
There is an algorithm, however we don’t learn it
Instead we use cuts and theory behind them
What is a CUT
What does it Separate into
a cut is a division thst cuts the pipes into TWO SETS, one with the SOURCE, and one with the SINK
How to find the VALUE OF A CUT importsnt
How to know if unsure if arc goes from source to sink
Make the cut with a DOTTED LINE
Then only consider the arcs going from the SOURCE TO THE SINK, and add the capacity of them !
Thus if go from sink to source = value is 0
If unsure if they go by looking, write sets out and see that way
Does a cut necessarily mean this flow is fesbdible?
No, it just shows capscity going out irregardless if rest if network
HOW TO EASILLY IDENTIFY IF ITS GOINF FROM SINK TO SOURCE
All the dotted line section , imagine all of that BECOMES THE SOURCE , thus if arrows pointing towards it now, then thats sink to source so DISREGAED IT!
Remember, might have to go AROUND a node to make the cut
Don’t be afraid
What is MAX FLOW MIN CUT THEROEM
1) what does it mean for finding max flow
2) what else does the cut tell you!!!!!
If you find all the cuts in the system possible, then the MINIMUM CUT , will equal to the MAXIMUM FLOW THROUGH THE SYSTEM
I’m this case, the arcs that are affected In the cut (going from source to sink) will all be SATURATED TOO