网络流
hitol
SDUT
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
HDU- 3549-Flow Problem (网络流之 EK)
Flow Problem Problem Description Network flow is a well-known difficult problem for ACMers. Given a graph, your task is to find out the maximum flow for the weighted directed graph.原创 2014-08-18 19:32:31 · 679 阅读 · 0 评论 -
POJ-1459-Power Network(网络流 EK)
Power Network Description A power network consists of nodes (power stations, consumers and dispatchers) connected by power transport lines. A node u may be supplied with an amount s(u) >= 0 of p原创 2014-08-19 08:29:22 · 571 阅读 · 0 评论 -
POJ-2983-Is the Information Reliable?(差分约束)
Is the Information Reliable? Description The galaxy war between the Empire Draco and the Commonwealth of Zibu broke out 3 years ago. Draco established a line of defense called Grot. Grot is a原创 2014-08-22 21:00:04 · 567 阅读 · 0 评论 -
网络流之EK 算法
白书中写道: “算法基于这样的一个事实: 残量网络中任何一条从s到t的有向道路都对应一条原图中的增广路——只要求出该道路中所有残量的最小值d, 把对应的所有边上的流量增加d即可,这个过程称为增广。不难验证,如果增广前的流量满足3个条件,增广后仍然满足。 只要在残量网络中存在增广路,流量就可以增大;如果残量网络中不存在增广路,则当前流就是最大流。 3个条件: 1.容量限制(别超过容原创 2014-08-18 19:27:44 · 926 阅读 · 0 评论
分享