SeqAn3 3.4.0-rc.1
The Modern C++ library for sequence analysis.
|
Sets the scoring scheme for the alignment algorithm. More...
#include <seqan3/alignment/configuration/align_config_scoring_scheme.hpp>
Public Member Functions | |
Constructors, destructor and assignment | |
constexpr | scoring_scheme ()=default |
Defaulted. | |
constexpr | scoring_scheme (scoring_scheme const &)=default |
Defaulted. | |
constexpr | scoring_scheme (scoring_scheme &&)=default |
Defaulted. | |
constexpr scoring_scheme & | operator= (scoring_scheme const &)=default |
Defaulted. | |
constexpr scoring_scheme & | operator= (scoring_scheme &&)=default |
Defaulted. | |
~scoring_scheme ()=default | |
Defaulted. | |
constexpr | scoring_scheme (scoring_scheme_t scheme) |
Initialises the scoring scheme config with the given scheme. | |
Public Attributes | |
scoring_scheme_t | scheme {} |
The scoring scheme to be used in the alignment algorithm. | |
Related Symbols | |
(Note that these are not member symbols.) | |
Type deduction guides | |
template<typename scheme_t > | |
scoring_scheme (scheme_t) -> scoring_scheme< std::remove_cvref_t< scheme_t > > | |
Deduces the scoring scheme type from the constructor argument. | |
Sets the scoring scheme for the alignment algorithm.
scoring_scheme_t | The type of the scoring scheme; must model std::semiregular. |
The scoring scheme allows to specify how two symbols of an alphabet are scored inside of the alignment algorithm. The scheme depends on the alphabet type of the passed sequences and must be chosen accordingly. During the configuration of the pairwise alignment algorithm a static assert is triggered if the scoring scheme is not compatible with the given alphabet types (see seqan3::scoring_scheme_for). Accordingly, there is no default for this configuration since it depends on the sequences and it must be given as a minimal configuration.
|
inlineexplicitconstexpr |
Initialises the scoring scheme config with the given scheme.
[in] | scheme | The scoring scheme to be used in the alignment algorithm. |
This config stores a copy of the provided scheme.