SeqAn3 3.1.0
The Modern C++ library for sequence analysis.
align_config_min_score.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 <limits>
16
19
20namespace seqan3::align_cfg
21{
39{
40public:
43
47 constexpr min_score() noexcept = default;
48 constexpr min_score(min_score const &) noexcept = default;
49 constexpr min_score(min_score &&) noexcept = default;
50 constexpr min_score & operator=(min_score const &) noexcept = default;
51 constexpr min_score & operator=(min_score &&) noexcept = default;
52 ~min_score() noexcept = default;
53
58 constexpr min_score(const int32_t score) :
60 {}
62
64 static constexpr seqan3::detail::align_config_id id{seqan3::detail::align_config_id::min_score};
65};
66
67} // namespace seqan3::align_cfg
Sets the minimal score (maximal errors) allowed during an distance computation e.g....
Definition: align_config_min_score.hpp:39
int32_t score
Minimal score for the distance computation [default: -infinity].
Definition: align_config_min_score.hpp:42
constexpr min_score() noexcept=default
Defaulted.
T lowest(T... args)
A special sub namespace for the alignment configurations.
Definition: align_config_band.hpp:25
Provides seqan3::pipeable_config_element.
Adds pipe interface to configuration elements.
Definition: pipeable_config_element.hpp:32