SeqAn3 3.4.0-rc.4
The Modern C++ library for sequence analysis.
|
Sets the minimal score (maximal errors) allowed during an distance computation e.g. edit distance. More...
#include <seqan3/alignment/configuration/align_config_min_score.hpp>
Public Member Functions | |
Constructors, destructor and assignment | |
constexpr | min_score () noexcept=default |
Defaulted. | |
constexpr | min_score (min_score const &) noexcept=default |
Defaulted. | |
constexpr | min_score (min_score &&) noexcept=default |
Defaulted. | |
constexpr min_score & | operator= (min_score const &) noexcept=default |
Defaulted. | |
constexpr min_score & | operator= (min_score &&) noexcept=default |
Defaulted. | |
~min_score () noexcept=default | |
Defaulted. | |
constexpr | min_score (int32_t const score) |
Initialises the minimal score. | |
Public Attributes | |
int32_t | score {std::numeric_limits<int32_t>::lowest()} |
Minimal score for the distance computation [default: -infinity]. | |
Static Public Attributes | |
static constexpr seqan3::detail::align_config_id | id {seqan3::detail::align_config_id::min_score} |
Internal id to check for consistent configuration settings. | |
Sets the minimal score (maximal errors) allowed during an distance computation e.g. edit distance.
This configuration can only be used for computing the edit distance. It restricts the number of substitutions, insertions, and deletions within the alignment to the given value and can thereby speed up the edit distance computation. A typical use case is to verify a candidate region during read mapping where the number of maximal errors is given beforehand. If this configuration is used for an alignment algorithm that does not compute the edit distance, a seqan3::invalid_alignment_configuration exception will be thrown.
|
inlineconstexpr |
Initialises the minimal score.
score | Minimal score for the distance computation [default: -infinity]. |