Maximum Flow Exhaustion of Paths Algorithm
Uploader Comments (1652449)
All Comments (11)
-
This algorithm doesn't always give the optimal solution, look up Ford-Fulkerson for an algorithm that does. This one's a really useful starting point though.
-
Best explanation I've ever seen of anything. I spent hours trying to understand how this works, now it's explained so beautifully and simple in an animation. Thank you so much!
-
emege saygi +rep
-
Just a note.
The exhaustion of paths does not always give the optimum result,
i.e. maximum flow is not always the one found with this algorithm.
To get the max flow, you should in the end construct a residual network (with forward and backward arcs) and try to find the so called augmenting paths.
The algorithm is called Flow augmenting path algorithm, and it is optimal.
Thank you for the video!
-
@tomlooway it's an algorithm
-
very helpful. Thank you!
-
i love it really it helps me alot in understanding network flow
Thanks. Glad it was helpful.
1652449 3 weeks ago
What about the path S-U-W-Z-T? Why is the smallest capacity for this path not identified?
kenshiro3007 7 months ago
@kenshiro3007 Because when identifying the path S-U-W-T , the capacity of of the edge U-W was exhausted. Therefore it couldn't be used any further.
You could choose to use the path S-U-W-Z-T (ie choose to solve the problem using a different order) But this should not effect the end result.
1652449 6 months ago 2