Let G = (V, E) be a flow network with source s, sink t, and integer capacities.
Question:
a. Suppose that the capacity of a single edge (u, v) ¬ E 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) ¬ E is decreased by 1. Give an O (V + E)-time algorithm to update the maximum flow.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Discrete and Combinatorial Mathematics An Applied Introduction
ISBN: 978-0201726343
5th edition
Authors: Ralph P. Grimaldi
Question Posted: