Trivial Minimum Cycle Ratio Failing
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- C++
- Stars
- 396
- Forks
- 244
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 29
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from boostorg/graph
-
beginner friendly
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
boostorg/graph#593 · 26 comments ·
Maintainers usually reply within 1 day
-
algorithm beginner friendly priority: high
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
boostorg/graph#231 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
Maintainers usually reply within 1 day
-
State of warnings in CI `develop`May be free again @Becheler claimed this 117 days ago, and no pull request is open. Openpriority: high warning
boostorg/graph#496 · 3 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
Implementing personalized PageRank for graph node scoring.May be free again @Becheler claimed this 128 days ago, and no pull request is open. Openalgorithm
boostorg/graph#493 · 22 comments · 1 reaction · 2 assignees ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Icinga/icinga2#11058 · 1 comment ·
Maintainers usually reply within 1 day
-
component: split-view platform: windows
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
zen-browser/desktop#15616 · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area/ysql kind/bug priority/medium status/awaiting-triage
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
yugabyte/yugabyte-db#34415 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
WayfireWM/wayfire#3148 · 1 comment ·
Maintainers usually reply within 1 day