找到特定长度的循环
例如,在具有 15 个顶点的图中是否可以找到所有 5 阶循环。我听说过双连通分量,但我的图只是一个强连通分量。
is it possible to find all the cycles of order 5 for example in a graph with 15 vertex. I heard about biconnected componenents but my graph is only one strongly connected components.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
最多有 15P5 = 360,360 个循环选项,因此简单的蛮力就足够了
At the max there are 15P5 = 360,360 options for the cycles, so a simple brute force would be enough