Trivial Minimum Cycle Ratio Failing
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start with the failing example in commit a56dccbd411acd84f04c64d796b871b4e4bd9598 and the howard_cycle_ratio algorithm, then run the single-self-loop graph from the report. Done means the reproducer reports 6410/2 (3205) instead of +Inf.
由索引模型根据 Issue 内容生成。
描述
Before filing
- I searched the existing issues and did not find a duplicate.
- I have reproduced the bug against the
developbranch or the latest Boost release. - I have a minimal reproducer (or I will paste my full failing code below).
Boost version
1.93 (hash: bf5e43e0850af9381fc880248ebab801e17c41d8)
Compiler family
- GCC / g++
- Clang / clang++
- MSVC (Visual Studio)
- Intel / oneAPI
- Other (specify below)
g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0
Standard library
- libstdc++
- libc++ (I am not certain)
- MSVC STL
- Other (specify below)
Operating system
- Linux
- macOS
- Windows
- Other (specify below)
Kind of component affected
- Graph data structure (e.g.
adjacency_list,adjacency_matrix) - Algorithm (e.g.
dijkstra_shortest_paths,breadth_first_search) - Property map
- I/O or file-format reader (e.g.
read_graphml,read_graphviz) - Visitor / event hooks
- Other (specify below)
Affected component: howard_cycle_ratio
Steps to reproduce
Commit a56dccbd411acd84f04c64d796b871b4e4bd9598 in Andful/graph adds the failing example.
The example being:
digraph G {
a->a [w1=6410, w2=2];
}
I.e. a single self-loop with cost 6410 and time of 2.
The case originates from a MCR benchmark.
Expected behavior
The minimum cycle ratio should be 6410/2 (i.e. 3205)
Actual behavior
The reported minimum cycle ratio is +Inf
Are you willing to help?
- I'd like to submit a fix as a pull request.
- I can help diagnose or test a candidate fix.
- I'm only reporting the issue.
- 主要语言
- C++
- 星标
- 396
- 派生
- 244
- 平均合并
- 2 天 6 小时
- 30 天内合并 PR
- 29
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
boostorg/graph 的其他 Issue
-
beginner friendly
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
algorithm beginner friendly priority: high
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 30/100
维护者通常 1 天内回复
-
State of warnings in CI `develop`可能重新可做 @Becheler 于 117 天前认领,目前没有进行中的 PR。 未关闭priority: high warning
boostorg/graph#496 · 3 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Implementing personalized PageRank for graph node scoring.可能重新可做 @Becheler 于 128 天前认领,目前没有进行中的 PR。 未关闭algorithm
boostorg/graph#493 · 22 条评论 · 1 个 reaction · 已指派 2 人 ·
维护者通常 1 天内回复
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 92/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
cp-algorithms/cp-algorithms#1715 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
Icinga/icinga2#11058 · 1 条评论 ·
维护者通常 1 天内回复
-
status:needs-triage
难度 2/5 1-3 小时 新手友好度 88/100
PX4/PX4-Autopilot#28924 ·
维护者通常 1 天内回复
-
component: split-view platform: windows
难度 2/5 1-3 小时 新手友好度 74/100
zen-browser/desktop#15616 · 1 个 reaction ·
维护者通常 1 天内回复