min-cut problem?
登录 | 论坛导航 -> 华新鲜事 -> 求学狮城 | 本帖共有 6 楼,分 1 页, 当前显示第 1 页 : 本帖树形列表 : 刷新 : 返回上一页
<<始页  [1]  末页>>
作者:icky (等级:15 - 最接近神,发帖:7923) 发表:2007-09-06 12:33:18  楼主  关注此帖
anyone interested to discuss about the last question in ACM this year? (more...)
min-cut problem?
please initiate the discussion, then everyone follows.
This page is intentionally left blank
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!原文 / 传统版 / WAP版所有回复从这里展开收起列表
作者:icky (等级:15 - 最接近神,发帖:7923) 发表:2007-09-07 18:16:24  2楼 评分:
anyone interested to discuss about the last question in ACM this year? (more...)
construct a graph as follows
vertices: from 0 to n, n+1 vertices, where 0 is outside

edges: weight of edge = number of tunnel connecting the two vertices

perform standard max-flow algorithm

is that right?
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!原文 / 传统版 / WAP版所有回复从这里展开收起列表
作者:icky (等级:15 - 最接近神,发帖:7923) 发表:2007-09-07 18:17:08  3楼
construct a graph as followsvertices: from 0 to n, n+1 vertices, where 0 is outside edges: weight of edge = number of tunnel connecting the two vertices perform standard max-flow algorithm is that right?
maxflow from vertex 0 to vertex 1
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!原文 / 传统版 / WAP版所有回复从这里展开收起列表
作者:icky (等级:15 - 最接近神,发帖:7923) 发表:2007-09-24 16:14:14  4楼
disagreeLet the edges being: 1 2 2 0 1 3 3 0 1 4 4 0 is the max-flow 3? if true, then disagree since we can wait until the spy enter one of 2, 3 or 4.
so assume the spy enters 2
u then destroy the tunnel from 2 to 0, he can still go back to 1, and choose aon of 3 or 4
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!原文 / 传统版 / WAP版所有回复从这里展开收起列表
作者:icky (等级:15 - 最接近神,发帖:7923) 发表:2007-09-24 16:14:31  5楼
so assume the spy enters 2u then destroy the tunnel from 2 to 0, he can still go back to 1, and choose aon of 3 or 4
choose one of 3 or 4
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!原文 / 传统版 / WAP版所有回复从这里展开收起列表
作者:icky (等级:15 - 最接近神,发帖:7923) 发表:2007-09-25 09:49:24  6楼
i think we can destroy the tunnels 2 0 and 2 1 simultaneously.
ok, i misunderstood the problem
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!原文 / 传统版 / WAP版所有回复从这里展开收起列表
论坛导航 -> 华新鲜事 -> 求学狮城 | 返回上一页 | 本主题共有 6 篇文章,分 1 页, 当前显示第 1 页 | 回到顶部
<<始页  [1]  末页>>

请登录后回复:帐号   密码