Suppose that you are given a flow network G, and G has edges entering the source s.

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 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.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Introduction to Algorithms

ISBN: 978-0262033848

3rd edition

Authors: Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest

Question Posted: