SeqAn3 3.1.0
The Modern C++ library for sequence analysis.
alignment_score_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
17
18namespace seqan3::detail
19{
20
34template <typename score_type>
35struct alignment_score_matrix_proxy
36{
37 static_assert(arithmetic<score_type> || simd_concept<score_type>,
38 "Value type must either be an arithmetic type or a simd vector type.");
39
40 score_type & current;
41 score_type & diagonal;
42 score_type & r_left;
43 score_type & w_left;
44 score_type & up;
45};
46} // namespace seqan3::detail
Provides concepts for core language types and relations that don't have concepts in C++20 (yet).
A type that satisfies std::is_arithmetic_v<t>.
Provides seqan3::simd::simd_concept.