实际上,我不太了解该解决方案。但在原来的问题中,davin提供的第二个答案是绝对正确的。
我只是复制粘贴到这里
Given a minimum S-T cut, (U,V) with cut-edges E', we make one simple observation:
If this minimum cut is not unique, then there exists some other minimum cut with
a set of cut-edges E'', such that E'' != E'.
If so, we can iterate over each edge in E', add to its capacity, recalculate the
max flow, and check if it increased.
As a result of the observation above, there exists an edge in E' that when
increased, the max flow doesn't increase iff the original cut is not unique.
我自己的一些解释:
其实你需要证明的是
there exists an edge in E' that when increased, the max flow doesn't increase
<=>
the original cut is not unique
=>:
你将边e 的容量增加1,计算新的最大流量,它保持不变,这意味着e 不在新的最小切割中。 (如果e在,根据min-cut的性质,f(e)=e的容量,导致增加)。由于e不在新的最小割中,所以它也是原始图的最小割,与我们知道的割具有相同的体积。因此,原始割不是唯一的。
原始剪辑不是唯一的(我们称它们为E 和E'),这意味着您可以在E 中找到一条边e,但在E' 中找不到。然后你只需将e 的容量增加1。在计算新图的最小切割时,E' 已经存在。由于E' 不包含边e,因此最大流量毫无疑问保持不变。
希望你理解:)