Skip to content
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

Miscellaneous config fixups #214

Merged
merged 6 commits into from
May 20, 2023
Merged

Conversation

BUYT-1
Copy link
Collaborator

@BUYT-1 BUYT-1 commented May 19, 2023

Move config to util, add ConfigureFromFunction, pipeline fixes.

`src/algorithms` contains the logic of the algorithms themselves, and
options are not logic. `src/util` seems like a better place for them,
given that they are something that is common to all algorithms, just
like `Progress`.
src/algorithms/algo_factory.h Outdated Show resolved Hide resolved
src/algorithms/algorithm.cpp Show resolved Hide resolved
src/util/config/descriptions.h Outdated Show resolved Hide resolved
src/util/config/new_options_shorthands.h Outdated Show resolved Hide resolved
src/algorithms/typo_miner.cpp Outdated Show resolved Hide resolved
@BUYT-1 BUYT-1 force-pushed the config-fixups branch 2 times, most recently from 2333119 to e79f30d Compare May 20, 2023 18:54
@BUYT-1 BUYT-1 requested a review from polyntsov May 20, 2023 18:57
BUYT-1 added 5 commits May 20, 2023 22:36
Specifying full names for things in algos::config::{names,descriptions}
namespaces can get annoying but `using namespace...` declarations are
repetitive, so this macro should be used when an algorithm registers an
option using the util::config::Option class directly.
@polyntsov polyntsov merged commit 9c52cca into Desbordante:main May 20, 2023
@BUYT-1 BUYT-1 deleted the config-fixups branch September 7, 2023 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants