Question: Suppose that you are given a flow network G, and G has edges entering the source s. Let f be a flow in G in

Suppose that you are given a flow network G, and G has edges entering the source s. Let f be a flow in G in which one of the edges (ν, s) entering the source has f (ν, s) = 1. Prove that there must exist another flow f′ with f′(ν, s) = 0 such that |f| = |f′|. Give an O(E)-time algorithm to compute f′, given f, and assuming that all edge capacities are integers.

Step by Step Solution

3.40 Rating (159 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The idea of the proof is that if f s 1 then there must exist a cycle containing the edge s and for w... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Introduction to Algorithms Questions!