# What actually is Blocking flow problem?

I am facing a hard time understanding Blocking Flow problem. This is what I have understood till now : We have a graph and in blocking flow problem we find all shortest paths from source to destination and saturate atleast one edge in all of the shortest paths respectively [1] and we delete that path. In examples I am reading online, it is explained with an example of graph with all edges of unit length [2]. Our professor explained the solution to this using dynamic trees. I am unable to apply the concept of dynamic trees (splay) for the solution of this problem. What will be stored in the nodes of the tree and on what basis will we perform the spaly operation?

[1] There can only be one shortest path, or many shortest paths of same length. What is the concept of all shortest paths?

[2] If a graph has all edges of unit lengths, then all the edges will be deleted (because all will appear in some path from source to sink). Then, source and destination will be disconnected in the end. What would be the use of doing this?

What is the goal for solving this problem? Can someone point in right direction in layman's terms? Also I have read some articles regarding this but unable to understand them and also none of them uses splay trees to solve this problem.

• You can't explain a problem by sketching an algorithm for solving it. What are inputs and desired outputs? That would specify the problem. – Raphael Sep 24 '16 at 21:31
• The desired input is a network, let's say we need to lay train tracks, then what would be a blocking flow in such a rail network? – Mojo Jojo Sep 24 '16 at 21:52
• You are asking several different questions. I answered only the one in the title. Any other questions should be asked separately, per community norms. – Yuval Filmus Sep 25 '16 at 0:28

A blocking $s$-$t$ flow is a flow whose residual network (consisting of all edges not saturated by the flow) contains no $s$-$t$ path. Stated differently, a blocking flow is a flow which, for every $s$-$t$ path, saturates at least one edge. Equivalently, a blocking flow is a flow which, for every simple $s$-$t$ path, saturates at least one edge.
• Thank you for explaining. Now if I have got my blocking flow in my graph, then what are its practical implications? Is our goal is to disconnect $s$ and $t$ ? Won't that be easy by just deleting all the outgoing edges from $s$ ? – Mojo Jojo Sep 25 '16 at 4:30