-
Notifications
You must be signed in to change notification settings - Fork 82
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
Design thoughts on algorithm configuration #1459
Comments
Based on these design considerations and if we actual manage to avoid most parameter types, I am ok with putting those few parameter types into |
Just dumping this here and referencing #1639 as part of this discussion. What we already agreed on by now is to reduce the number of custom types for config element argument since this is confusing. So for all mutually exclusive config arguments, (e.g. those of See #1639 for the respective refactoring of In order to make these top-level config elements a dynamic choice, the proposal was to introduce a single |
We have extensively discussed the design and this can be now closed. Here is the card with the resolution https://github.com/orgs/seqan/projects/4#card-31347419 |
Here are my 2¢:
mode<a::b>
can be used as well asmode(a::b)
. Also foralign_cfg::band
. See Makemode()
a runtime decision #1436seqan3::search_cfg::foo{seqan3::search_cfg::bar}
is ugly (independent of whether or not bar is in extra namespace or inseqan3::
). Alternatives are:seqan3::align_cfg::result::with_alignment()::with_front_coordinate()
.seqan3::align_cfg::mode::global
vsseqan3::align_cfg::mode::local
.I think the last is even better than continuator-style, because it is not just about the result_type,
it actually affects the algorithm.
The text was updated successfully, but these errors were encountered: