SeqAn3 3.4.0-rc.1
The Modern C++ library for sequence analysis.
|
Configuration element that represents the number or rate of substitution errors. More...
#include <seqan3/search/configuration/max_error.hpp>
Public Member Functions | |
Constructors, destructor and assignment | |
max_error_substitution ()=default | |
Defaulted. | |
max_error_substitution (max_error_substitution const &)=default | |
Defaulted. | |
max_error_substitution (max_error_substitution &&)=default | |
Defaulted. | |
max_error_substitution & | operator= (max_error_substitution const &)=default |
Defaulted. | |
max_error_substitution & | operator= (max_error_substitution &&)=default |
Defaulted. | |
~max_error_substitution ()=default | |
Defaulted. | |
constexpr | max_error_substitution (error_count error) |
Initialises the substitution error with the given seqan3::search_cfg::error_count. | |
constexpr | max_error_substitution (error_rate error) |
Initialises the substitution error with the given seqan3::search_cfg::error_rate. | |
Public Attributes | |
std::variant< error_count, error_rate > | error {error_count{0}} |
The error count or error rate. | |
Configuration element that represents the number or rate of substitution errors.
This configuration element can be used to determine the number or rate of substitution errors that are supported. A substitution corresponds to diverging bases between text and query for a certain position.
|
inlineexplicitconstexpr |
Initialises the substitution error with the given seqan3::search_cfg::error_count.
[in] | error | The maximal number of substitution errors allowed in the search. |
|
inlineexplicitconstexpr |
Initialises the substitution error with the given seqan3::search_cfg::error_rate.
[in] | error | The maximal error rate for substitutions allowed in the search. |