Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3. (10 pts) (a) Consider the flow graph and the flow (of value 50) shown below. Execute one iteration of the Ford- Fulkerson max-flow algorithm.

image text in transcribed

3. (10 pts) (a) Consider the flow graph and the flow (of value 50) shown below. Execute one iteration of the Ford- Fulkerson max-flow algorithm. Show the residual graph used to determine an augmenting path, the augmenting path, and show the resulting new flow 10/20 10/20 20/20 10/15 10/10 15/30 20/20 30/30 20/20 5/5 10 5 10/1 15/2 10/25 10/20 10/10 (b) Let G be a flow graph with a source s and a sink t and positive integer capacities on the edges Assume a maximum flow has been determined and the corresponding flow function f is given to you on every edge of G. The capacity of edge (u, v) in G increases by 5, resulting in a new flow network G'. Describe and analyze an efficient method for generating the new maximum flow in G' from flow f. Your solution needs to be significantly faster than recomputing the flow. 3. (10 pts) (a) Consider the flow graph and the flow (of value 50) shown below. Execute one iteration of the Ford- Fulkerson max-flow algorithm. Show the residual graph used to determine an augmenting path, the augmenting path, and show the resulting new flow 10/20 10/20 20/20 10/15 10/10 15/30 20/20 30/30 20/20 5/5 10 5 10/1 15/2 10/25 10/20 10/10 (b) Let G be a flow graph with a source s and a sink t and positive integer capacities on the edges Assume a maximum flow has been determined and the corresponding flow function f is given to you on every edge of G. The capacity of edge (u, v) in G increases by 5, resulting in a new flow network G'. Describe and analyze an efficient method for generating the new maximum flow in G' from flow f. Your solution needs to be significantly faster than recomputing the flow

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Illuminated

Authors: Catherine M Ricardo, Susan D Urban

3rd Edition

1284056945, 9781284056945

More Books

Students also viewed these Databases questions