Computer Science Homework Solutions
Problem
#103222

Algorithm Problem

Let G = (V, E) be a flow network with source s, sink t, and suppose each edge e  E has capacity c(e) = 1.  Assume also, for convenience, that |E| =  (V).

a. Suppose we implement the Ford-Fulkerson maximum-flow algorithm by using depth-first search to find augmenting paths in the residual graph.  what is the worst-case running time of this algorithm on G?

b. Suppose a maximum flow for G has been computed, and a new edge with unit capacity is added to E.  Describe how the maximum flow can be efficiently updated.  (Note: It is not the value of the flow that must be updated, but the flow itself.)  Analyze your algorithm.

c. Suppose a maximum flow for G has been computed, but an edge is now removed form E.  Describe how the maximum flow can be efficiently updated.  Analyze your algorithm.

See attached file for full problem description.

Attached file(s):
Attachments
Let G.doc  View File

Attachment Content Summary (Note: view attachment at the above link before purchasing. Actual attachment content may vary slightly from that shown below.)

Let G.doc
Let G = (V, E) be a flow network with source s, sink t, and suppose each
edge e ( E has capacity c(e) = 1. Assume also, for convenience, that
|E| = ( (V).

Suppose we implement the Ford-Fulkerson maximum-flow algorithm by using
depth-first search to find augmenting paths in the residual graph. what
is the worst-case running time of this algorithm on G?

Suppose a maximum flow for G has been computed, and a new edge with unit
capacity is added to E. Describe how the maximum flow can be
efficiently updated. (Note: It is not the value of the flow that must
be updated, but the flow itself.) Analyze your algorithm.

Suppose a maximum flow for G has been computed, but an edge is now
removed form E. Describe how the maximum flow can be efficiently
updated. Analyze your algorithm.
Solution
What is this?
By OTA - Overall OTA Rating
Xiao Liu, MS - 4.7/5
Purchase Cost Now
$2.19 CAD (was ~$19.95)
Included in Download
  • Plain text response
  • Attached file(s):
    • Let+G.doc
$2.19 Instant Download
Add to Cart
Why you can trust BrainMass.com
  • Your Information is Secure
  • Best Online Academic Help Service
  • Students find real academic Success
Related Solutions
Browse