SeqAn3 3.1.0-rc.2
The Modern C++ library for sequence analysis.
alignment_trace_matrix_proxy.hpp
Go to the documentation of this file.
1// -----------------------------------------------------------------------------------------------------
2// Copyright (c) 2006-2021, Knut Reinert & Freie Universität Berlin
3// Copyright (c) 2016-2021, Knut Reinert & MPI für molekulare Genetik
4// This file may be used, modified and/or redistributed under the terms of the 3-clause BSD-License
5// shipped with this file and also available at: https://github.com/seqan/seqan3/blob/master/LICENSE.md
6// -----------------------------------------------------------------------------------------------------
7
13#pragma once
14
15#include <seqan3/std/concepts>
16
20
21namespace seqan3::detail
22{
23
34template <typename coordinate_type, typename trace_type>
36{
37 static_assert(std::same_as<trace_type, trace_directions> || simd_concept<trace_type> ||
38 decays_to_ignore_v<trace_type>,
39 "Value type must either be a trace_directions object, a simd vector over such or std::ignore.");
40
41 coordinate_type coordinate{};
42 trace_type & current;
43 trace_type & r_left;
44 trace_type & w_left;
45 trace_type & up;
46};
47
48} // namespace seqan3::detail
Provides various type traits on generic types.
The Concepts library.
The generic simd concept.
The internal SeqAn3 namespace.
Definition: aligned_sequence_concept.hpp:29
A proxy type for a unified access to the traceback matrix during alignment computation.
Definition: alignment_trace_matrix_proxy.hpp:36
trace_type & w_left
Reference to the next element to the left.
Definition: alignment_trace_matrix_proxy.hpp:44
trace_type & current
Reference to the current element.
Definition: alignment_trace_matrix_proxy.hpp:42
trace_type & up
Reference to the element above.
Definition: alignment_trace_matrix_proxy.hpp:45
trace_type & r_left
Reference to the element to the left.
Definition: alignment_trace_matrix_proxy.hpp:43
coordinate_type coordinate
The current coordinate.
Definition: alignment_trace_matrix_proxy.hpp:41
Provides the declaration of seqan3::detail::trace_directions.
Provides seqan3::simd::simd_concept.