55 struct search_mode_all {};
57 struct search_mode_all_best {};
59 struct search_mode_best {};
67 inline detail::search_mode_all constexpr
all;
69 inline detail::search_mode_all_best constexpr
all_best;
71 inline detail::search_mode_best constexpr
best;
79 struct strata : detail::strong_type<uint8_t, strata, detail::strong_type_skill::convert>
81 using detail::strong_type<uint8_t, strata, detail::strong_type_skill::convert>::strong_type;
91 template <
typename mode_t>
92 struct search_config_mode
102 template <
template <
typename ...>
typename search_config_mode_type>
103 struct search_config_mode_adaptor :
public configuration_fn_base<search_config_mode_adaptor<search_config_mode_type>>
111 template <
typename configuration_t,
typename mode_t>
113 requires is_algorithm_configuration_v<remove_cvref_t<configuration_t>>
116 constexpr
auto invoke(configuration_t && cfg, mode_t
mode)
const 119 SEQAN3_INVALID_CONFIG(search_cfg::id::mode));
121 return std::forward<configuration_t>(cfg).push_front(search_config_mode<mode_t>{std::move(mode)});
128 struct on_search_config<search_cfg::
id::mode>
131 template <config_element_concept t>
132 using invoke =
typename is_type_specialisation_of<t, search_config_mode>::type;
137 template <
typename mode_t>
138 struct search_config_type_to_id<search_config_mode<mode_t>>
150 inline detail::search_config_mode_adaptor<seqan3::detail::search_config_mode> constexpr
mode;
Provides functionality to access get function by enum values.
detail::search_mode_best constexpr best
Configuration element to receive one best hit (with the lowest number of errors). ...
Definition: mode.hpp:71
Provides seqan3::type_list and auxiliary metafunctions.
A special sub namespace for the search configurations.
Continuous gaps in the beginning and end of both sequences are not scored.
Configuration element to receive all hits with the best number of errors plus the strata value...
Definition: mode.hpp:79
id
Specifies an id for every configuration element.
Definition: utility.hpp:68
detail::search_mode_all_best constexpr all_best
Configuration element to receive all hits within the lowest number of errors.
Definition: mode.hpp:69
Definition: aligned_sequence_concept.hpp:288
Provides various metafunctions on generic types.
detail::search_config_mode_adaptor< seqan3::detail::search_config_mode > constexpr mode
Configuration element to determine the search mode.
Definition: mode.hpp:150
Meta-Header for components of the algorithm submodule.