Question

26.2-3 Show the execution of the Edmonds-Karp algorithm on the flow network of Fig- ure 26.1(a). Edmonton Saskatoon 12/12 go Winnipeg Vancouver 14 Calgary Regina (b) (a) Figure 26.1 (a) A flow network G (V, E) for the Lucky Puck Companys trucking problem. The Vancouver factory is the source s, and the Winnipeg warehouse is the sinkt. The company ships pucks through intermediate cities, but only c(u, v) crates per day can go from city u to city v. Each edge is labeled with its capacity. (b) A flow f in G with value If 19. Each edge (u, v) is labeled by f(u,v)/c(u,v). The slash notation merely separates the flow and capacity; it does not indicate division.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

26.2-3

Answer Step 1: Use BFS to select the path. The path S-V1-V3-t is selected. Nect find the flow that can be sent along the path12/ 12 12/ 寸. 4/13 4/14 The maximum flow is = 12 +4 =16 The residual graph is,12 v3 12 12 10 2 Step 3: The next shortest path is, s-v2-v4-v3-t. The possible flow on this path is, min(9,10, 7,8) 12I V4 4/12 v1 12 19 v2 V4 There is no path to send a flow from s to t. So the maximum flow is 23 and the graph is, 11/13-Yv. לי V44/4

Add a comment
Know the answer?
Add Answer to:
Show the execution of the Edmonds-Karp algorithm on the flow network of Figure 26.1(a). A flow...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT