Question: Let G = ( V , E ) be a flow network with source s , s i n k t , and integer capacities.

Let G=(V,E) be a flow network with source s,sinkt, and integer capacities. Suppose that
we are given a maximum flow in G.
(a) Suppose that the capacity of a single edge (u,v)inE is increased by 1. Give an
O(V+E)-time algorithm to update the maximum flow.
(b) Suppose that the capacity of a single edge (u,v)inE is decreased by 1. Give an
O(V+E)-time algorithm to update the maximum flow.
Let G = ( V , E ) be a flow network with source s

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Programming Questions!