-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Deprecate CoreCH, fallback to using CH #4598
Conversation
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.
LGTM! Just some small changes in comments
But also
- a deprecation message is needed in change log
- line include/engine/search_engine_data.hpp:17 can be removed
- a deprecation comment at include/engine/engine_config.hpp:69
- scripts/gdb_printers.py:147 can be removed
const DataFacade<corech::Algorithm> &facade, | ||
const PhantomNodes &phantom_nodes); | ||
|
||
template InternalRouteResult | ||
directShortestPathSearch(SearchEngineData<ch::Algorithm> &engine_working_data, |
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.
can also be removed but requires a definition change above to
template <>
InternalRouteResult directShortestPathSearch(SearchEngineData<ch::Algorithm> &engine_working_data,
const DataFacade<ch::Algorithm> &facade,
const PhantomNodes &phantom_nodes)
@@ -49,7 +49,7 @@ return_code parseArguments(int argc, | |||
"Number of threads to use")( | |||
"core,k", | |||
boost::program_options::value<double>(&contractor_config.core_factor)->default_value(1.0), | |||
"Percentage of the graph (in vertices) to contract [0..1]")( | |||
"Percentage of the graph (in vertices) to contract [0..1]. Will always be 1.0")( |
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.
would be DEPRECATED Percentage of the graph (in vertices) to contract [0..1]
better?
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.
@@ -65,6 +65,7 @@ struct ContractorConfig final : storage::IOConfig | |||
|
|||
unsigned requested_num_threads; | |||
|
|||
// Deprecated |
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.
Please could you add also a release version when it is planed to remove, like // DEPRECATED to be removed in v6.0
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'll open a follow up issue to track removal in v6 too
all internal usage of
EDIT: as discussed usage of core_factor should stay to support exclude flags, |
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.
EDIT: as discussed usage of core_factor
should stay to support exclude flags
Issue
Closes #4444 and #4482
Tasklist
Requirements / Relations
cc @TheMarex @oxidase