SeqAn3
3.4.0
The Modern C++ library for sequence analysis.
Toggle main menu visibility
Loading...
Searching...
No Matches
align_config_scoring_scheme.hpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2006-2025 Knut Reinert & Freie Universität Berlin
2
// SPDX-FileCopyrightText: 2016-2025 Knut Reinert & MPI für molekulare Genetik
3
// SPDX-License-Identifier: BSD-3-Clause
4
10
11
#pragma once
12
13
#include <concepts>
14
15
#include <
seqan3/alignment/configuration/detail.hpp
>
16
#include <
seqan3/alignment/scoring/scoring_scheme_concept.hpp
>
17
#include <
seqan3/core/configuration/pipeable_config_element.hpp
>
18
#include <
seqan3/utility/type_traits/basic.hpp
>
19
20
namespace
seqan3::align_cfg
21
{
22
40
template
<std::semiregular scoring_scheme_t>
41
class
scoring_scheme
:
private
pipeable_config_element
42
{
43
public
:
45
scoring_scheme_t
scheme
{};
46
50
constexpr
scoring_scheme
() =
default
;
51
constexpr
scoring_scheme
(
scoring_scheme
const
&) =
default
;
52
constexpr
scoring_scheme
(
scoring_scheme
&&) =
default
;
53
constexpr
scoring_scheme
&
operator=
(
scoring_scheme
const
&) =
default
;
54
constexpr
scoring_scheme
&
operator=
(
scoring_scheme
&&) =
default
;
55
~scoring_scheme
() =
default
;
56
64
explicit
constexpr
scoring_scheme
(scoring_scheme_t
scheme
) :
scheme
{
std
::move(
scheme
)}
65
{}
66
67
70
static
constexpr
seqan3::detail::align_config_id
id
{seqan3::detail::align_config_id::scoring};
71
};
72
77
79
template
<
typename
scheme_t>
80
scoring_scheme
(scheme_t) ->
scoring_scheme<std::remove_cvref_t<scheme_t>
>;
82
83
}
// namespace seqan3::align_cfg
detail.hpp
Provides some utility functions for the alignment configurations.
basic.hpp
Provides various type traits on generic types.
seqan3::align_cfg::scoring_scheme::scoring_scheme
constexpr scoring_scheme(scoring_scheme_t scheme)
Initialises the scoring scheme config with the given scheme.
Definition
align_config_scoring_scheme.hpp:64
seqan3::align_cfg::scoring_scheme::scoring_scheme
scoring_scheme(scheme_t) -> scoring_scheme< std::remove_cvref_t< scheme_t > >
Deduces the scoring scheme type from the constructor argument.
seqan3::align_cfg::scoring_scheme::scheme
scoring_scheme_t scheme
The scoring scheme to be used in the alignment algorithm.
Definition
align_config_scoring_scheme.hpp:45
seqan3::align_cfg::scoring_scheme::operator=
constexpr scoring_scheme & operator=(scoring_scheme &&)=default
Defaulted.
seqan3::align_cfg::scoring_scheme::scoring_scheme
constexpr scoring_scheme()=default
Defaulted.
seqan3::align_cfg::scoring_scheme::operator=
constexpr scoring_scheme & operator=(scoring_scheme const &)=default
Defaulted.
seqan3::align_cfg::scoring_scheme::scoring_scheme
constexpr scoring_scheme(scoring_scheme const &)=default
Defaulted.
seqan3::align_cfg::scoring_scheme::scoring_scheme
constexpr scoring_scheme(scoring_scheme &&)=default
Defaulted.
seqan3::align_cfg::scoring_scheme::~scoring_scheme
~scoring_scheme()=default
Defaulted.
seqan3::align_cfg
A special sub namespace for the alignment configurations.
Definition
align_config_band.hpp:22
std
SeqAn specific customisations in the standard namespace.
pipeable_config_element.hpp
Provides seqan3::pipeable_config_element.
scoring_scheme_concept.hpp
Provides seqan3::scoring_scheme_for.
seqan3::pipeable_config_element
Adds pipe interface to configuration elements.
Definition
pipeable_config_element.hpp:29
Hide me
Version:
seqan3
alignment
configuration
align_config_scoring_scheme.hpp
Generated on
for SeqAn3 by
1.17.0