如何在有向加权图中找到最短周期? [英] How can I find the shortest cycle in a Directed, Weighted Graph?

查看:76
本文介绍了如何在有向加权图中找到最短周期?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找在图中找到最短周期的最简单方法.

I am looking for the easiest way to find the shortest cycle in a graph.

推荐答案

"By the power of Google!" - Heman

您可以在此处找到它 http://en.wikipedia.org/wiki/Floyd%E2%80%93Warshall_algorithm

这篇关于如何在有向加权图中找到最短周期?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆