SeqAn3
3.4.0-rc.1
The Modern C++ library for sequence analysis.
Loading...
Searching...
No Matches
pairwise_alignment_concept.hpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin
2
// SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
3
// SPDX-License-Identifier: BSD-3-Clause
4
10
#pragma once
11
12
#include <
tuple
>
13
14
#include <
seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp
>
15
#include <
seqan3/utility/tuple/concept.hpp
>
16
17
namespace
seqan3::detail
18
{
19
30
template
<
typename
pairwise_alignment_t>
31
concept
pairwise_alignment =
pair_like<pairwise_alignment_t>
32
&&
aligned_sequence<std::tuple_element_t<0, std::remove_reference_t<pairwise_alignment_t>
>>
33
&&
aligned_sequence<std::tuple_element_t<1, std::remove_reference_t<pairwise_alignment_t>
>>;
35
46
template
<
typename
pairwise_alignment_t>
47
concept
writable_pairwise_alignment =
48
pairwise_alignment<pairwise_alignment_t>
49
&&
writable_aligned_sequence<std::tuple_element_t<0, std::remove_reference_t<pairwise_alignment_t>
>>
50
&&
writable_aligned_sequence<std::tuple_element_t<1, std::remove_reference_t<pairwise_alignment_t>
>>;
52
53
}
// namespace seqan3::detail
aligned_sequence_concept.hpp
Includes the aligned_sequence and the related insert_gap and erase_gap functions to enable stl contai...
aligned_sequence
The generic concept for an aligned sequence.
pair_like
Whether a type behaves like a tuple with exactly two elements.
writable_aligned_sequence
The generic concept for an aligned sequence that is writable.
tuple
concept.hpp
Provides seqan3::tuple_like.
Hide me
Version:
seqan3
alignment
detail
pairwise_alignment_concept.hpp
Generated on Mon Mar 4 2024 20:36:57 for SeqAn3 by
1.9.8