问题定义
问题定义在网络上,也就是一个有向且连通的图。
发点(source)和收点(sink)唯一*。
其他点是中间点。
边的权重是允许的最大流量。
问题目标是使发点到收点的总流量最大。
*:发点和收点不唯一的情况用虚拟发/收点解决。示意图如下:
剩余网络和增广链算法
剩余网络就是residual network,emmm,听上去是个挺深度学习的东西,然而并不是一回事。
增广链 augmenting path:一条从发点到收点的path,每条arc都有正的residual capacity。
residual capacity of the augmenting path:minimum of these residual capacities
为什么叫“augmenting path”?因为是further augment the flow。
不存在增广链,则该网络达到了最大流。
增广链算法:
The augmenting path algorithm repeatedly selects some augmenting path and adds a flow equal to its residual capacity to that path in the original network.
<