A trace iterator for banded trace matrices.
More...
#include <seqan3/alignment/matrix/detail/trace_iterator_banded.hpp>
|
constexpr void | go_diagonal (matrix_iter_t &iter) const noexcept |
| Moves iterator to previous up cell. More...
|
|
constexpr void | go_left (matrix_iter_t &iter) const noexcept |
| Moves iterator to previous left cell. More...
|
|
|
friend | base_t |
| Befriend base class.
|
|
size_t | pivot_column {} |
| The largest column index which is inside of the band in the first row of the matrix.
|
|
template<two_dimensional_matrix_iterator matrix_iter_t>
class seqan3::detail::trace_iterator_banded< matrix_iter_t >
A trace iterator for banded trace matrices.
- Template Parameters
-
This iterator follows a given trace in a banded trace matrix.
◆ trace_iterator_banded() [1/2]
template<two_dimensional_matrix_iterator matrix_iter_t>
template<typename index_t >
Constructs from the underlying trace matrix iterator indicating the start of the trace path.
- Parameters
-
[in] | matrix_iter | The underlying matrix iterator. |
[in] | pivot_column | The last column index which is still inside of the band in the first row of the banded matrix. |
◆ trace_iterator_banded() [2/2]
template<two_dimensional_matrix_iterator matrix_iter_t>
template<two_dimensional_matrix_iterator other_matrix_iter_t>
Constructs from the underlying trace matrix iterator indicating the start of the trace path.
- Template Parameters
-
other_matrix_iter_t | The underlying matrix iterator type of other ; the condition std::constructible_from<matrix_iter_t, other_matrix_iter_t> must evaluate to true . |
- Parameters
-
[in] | other | The underlying matrix iterator. |
Allows the conversion of non-const to const iterator.
◆ coordinate()
template<two_dimensional_matrix_iterator matrix_iter_t>
Returns the current coordinate in two-dimensional space.
◆ go_diagonal()
template<two_dimensional_matrix_iterator matrix_iter_t>
|
inlineconstexprprivatenoexcept |
Moves iterator to previous up cell.
◆ go_left()
template<two_dimensional_matrix_iterator matrix_iter_t>
|
inlineconstexprprivatenoexcept |
Moves iterator to previous left cell.
The documentation for this class was generated from the following file: