SeqAn3 3.4.0-rc.1
The Modern C++ library for sequence analysis.
|
Local state for the standard alignment algorithm. More...
#include <seqan3/alignment/pairwise/detail/alignment_algorithm_state.hpp>
Public Member Functions | |
constexpr void | reset_optimum () noexcept |
Resets the alignment optimum to the default initialised optimum. | |
Public Attributes | |
score_type | gap_extension_score {} |
The cached gap extension score. | |
score_type | gap_open_score {} |
The cached gap open score. | |
alignment_optimum< score_type > | optimum {} |
The current alignment optimum. | |
Related Symbols | |
(Note that these are not member symbols.) | |
Type deduction guides | |
template<typename score_type > | |
alignment_algorithm_state (score_type, score_type) -> alignment_algorithm_state< score_type > | |
Deduces the template parameter for the score type from construction with gap open and gap extension scores. | |
Local state for the standard alignment algorithm.
score_type | The type of the score; must model seqan3::arithmetic or seqan3::simd::simd_concept. |
This state is used internally for the standard alignment algorithm and caches the gap extension and gap open scores as well as the current alignment optimum. The alignment optimum stores the current score and the corresponding matrix coordinate in the underlying two-dimensional matrix.