How can I find the minimum cut on a graph using a maximum flow algorithm?

后端 未结 7 1698
旧时难觅i
旧时难觅i 2020-12-07 13:27

I need to find the minimum cut on a graph. I\'ve been reading about flow networks, but all I can find are maximum flow algorithms such as Ford-Fulkerson, push-relabel, etc.

7条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-07 14:05

    One way to understand is, let's define a cut as two sets S and T, which will include s and t, respectively.

    Now, add all vertices in S that are reachable from s in the residual network and put the remaining edges in T. This will be one cut.

    Second, cut can be formed by putting all vertices in T that are reachable from t in the residual network and put the remaining vertices in S.

    Take a look at this video to find out how do we find the vertices reachable from s and t.

    https://www.youtube.com/watch?v=FIJaXfUIXJA&index=4&list=PLe-ggMe31CTduQ68XQ-sVj32wYJIspTma

提交回复
热议问题