SeqAn3 3.4.0-rc.1
The Modern C++ library for sequence analysis.
Loading...
Searching...
No Matches
seqan3::detail::alignment_algorithm_state< score_type > Struct Template Reference

Local state for the standard alignment algorithm. More...

#include <seqan3/alignment/pairwise/detail/alignment_algorithm_state.hpp>

+ Inheritance diagram for seqan3::detail::alignment_algorithm_state< score_type >:

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_typeoptimum {}
 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.
 

Detailed Description

template<typename score_type>
requires arithmetic<score_type> || simd_concept<score_type>
struct seqan3::detail::alignment_algorithm_state< score_type >

Local state for the standard alignment algorithm.

Template Parameters
score_typeThe 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.


The documentation for this struct was generated from the following file:
Hide me