Divide a node v on your graph. For each w , except v , calculate the maximum flow from v to w . Since v must be on one side of the global global section, and something else must be on the other side, one of these flows will determine the global minimum section.
There is a trick due to Hao and Orlin, where if you use the press push algorithm, the global calculation of the minimum cut takes about the same time as the minimum (s, t) -cut. This is of practical importance. Karger has a randomized algorithm that does this in O (n polylog (n)) time, but I don't know any implementations, let alone fast implementations.
source share