-
Notifications
You must be signed in to change notification settings - Fork 6
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
Some minor remarks/suggestions on #18 #36
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #36 +/- ##
=======================================
Coverage 89.86% 89.86%
=======================================
Files 13 13
Lines 306 306
=======================================
Hits 275 275
Misses 31 31
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
||
# Example | ||
```julia | ||
nhs_trivial = TrivialNeighborhoodSearch ....... | ||
|
||
... | ||
|
||
nhs_grid = GridNeighborhoodSearch .... | ||
``` |
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.
I didn't add an example because this benchmark is mostly to be used with plot_benchmarks
.
# Is there a reason why this is hard coded? Why not passing custom nhs like `custom_nhs...`? | ||
# And then `nameof(typeof(nhs))` |
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.
- You would have to pass an array of functions
(search_radius, coordinates) -> nhs
, which would get ugly quickly. nameof(typeof(nhs))
is not enough. With new backends and options, many of these names will be "SomeNeighborhoodSearch
withsome_option=true
".
I figured it is easier to treat this like an example file that you modify and include again.
@LasNikas Can we close this? |
Some minor remarks/suggestions on #18