最大流图算法

发布于 2024-10-07 18:00:12 字数 191 浏览 4 评论 0原文

有人知道应该使用哪种算法来找到无向图中的最大流吗?

据我了解,这里的无向网络基本上将图变成了多重图由两个“普通”肋和两个“假”肋连接的顶点,例如在Ford-Fulkerson算法中使用。

但是我应该如何处理多重图的情况呢?

Does someone know which algorithm should be used to find the maximal flow in the unoriented graph?

As far as I understand, the unoriented network here basically turns the graph into a multigraph with vertices connected by two "ordinary" ribs and two "fake" ribs, which are, for example used in the Ford-Fulkerson algorithm.

But how should I handle the case of a multigraph?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

顾冷 2024-10-14 18:00:12

如果您有无向边

     5
* ------ *

,则可以将其转换为两个有向边:

     5
  ------>
*         *
  <------
     5

Ford-Fulkerson 方法可以完美地处理此类图。

If you have unoriented edge

     5
* ------ *

then you can turn it into two oriented edges:

     5
  ------>
*         *
  <------
     5

Ford-Fulkerson method works on such graphs perfectly.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文