-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Shortest path for weighted graph #38
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #38 +/- ##
==========================================
- Coverage 99.87% 99.78% -0.10%
==========================================
Files 20 20
Lines 821 913 +92
==========================================
+ Hits 820 911 +91
- Misses 1 2 +1
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this!
I have recently changed the CI to a matrix build such that we ensure the code builds with both gcc as well as clang. Sorry for the inconvenience 😬
I can do a more in-depth review later, but the overall approach looks good! I mostly looked into the build issues. Let me know if you continue to have issues there.
Hi, sorry for the delay, I finally managed to take a proper look at this. It turns out the compilation issue was due to the return type of the I also made the test suite name globally unique in a0a60d1 (apparently gtest requires this). Finally, I found a bug in the getters of a Thanks for working on this! The code looks good, if you are up for adding a few tests codecov has flagged a few lines as not covered. Other than that looks good to go 👍🏻 |
@bobluppes This is ready to be merged from my end. The missing coverage for one added line seems to be a bug/configuration issue concerning codecov. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thanks for working on this!
Congrats on the third great feature added to Graaf 🥳
This is meant to add Dijkstra's algorithm for calculating the shortest path between two vertices in a weighted graph.