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

A proxy type for a unified access to the score matrix during alignment computation. More...

#include <seqan3/alignment/matrix/detail/alignment_score_matrix_proxy.hpp>

Public Attributes

score_typecurrent
 The current value.
 
score_typediagonal
 The last diagonal value.
 
score_typer_left
 The last value to the left.
 
score_typeup
 The last value above.
 
score_typew_left
 The next value to the left.
 

Detailed Description

template<typename score_type>
struct seqan3::detail::alignment_score_matrix_proxy< score_type >

A proxy type for a unified access to the score matrix during alignment computation.

Template Parameters
score_typeThe type wrapped by this proxy.

Provides named accessors to the respective values of the score matrix during the alignment computation. The score_type must either model the seqan3::arithmetic or seqan3::detail::simd_conceptvector concept. In some cases the last value to the left is stored in a different location then the next left value that will be used in the subsequent column (e.g. in the banded alignment matrix). Accordingly the left value is split in a reference for reading, referred to as r_left (for reading), and a reference to the next left value on the same row, referred to as w_left (for writing).


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