SeqAn3
3.2.0
The Modern C++ library for sequence analysis.
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
pairwise_alignment_concept.hpp
Go to the documentation of this file.
1
// -----------------------------------------------------------------------------------------------------
2
// Copyright (c) 2006-2022, Knut Reinert & Freie Universität Berlin
3
// Copyright (c) 2016-2022, 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 <
tuple
>
16
17
#include <
seqan3/alignment/aligned_sequence/aligned_sequence_concept.hpp
>
18
#include <
seqan3/utility/tuple/concept.hpp
>
19
20
namespace
seqan3::detail
21
{
22
33
template
<
typename
pairwise_alignment_t>
34
concept
pairwise_alignment =
pair_like<pairwise_alignment_t>
35
&&
aligned_sequence<std::tuple_element_t<0, std::remove_reference_t<pairwise_alignment_t>
>>
36
&&
aligned_sequence<std::tuple_element_t<1, std::remove_reference_t<pairwise_alignment_t>
>>;
38
49
template
<
typename
pairwise_alignment_t>
50
concept
writable_pairwise_alignment =
51
pairwise_alignment<pairwise_alignment_t>
52
&&
writable_aligned_sequence<std::tuple_element_t<0, std::remove_reference_t<pairwise_alignment_t>
>>
53
&&
writable_aligned_sequence<std::tuple_element_t<1, std::remove_reference_t<pairwise_alignment_t>
>>;
55
56
}
// 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.
seqan3
alignment
detail
pairwise_alignment_concept.hpp
Generated on Mon Jun 20 2022 15:17:40 for SeqAn3 by
1.9.4