SeqAn3  3.0.3
The Modern C++ library for sequence analysis.
align_config_min_score.hpp
Go to the documentation of this file.
1 // -----------------------------------------------------------------------------------------------------
2 // Copyright (c) 2006-2020, Knut Reinert & Freie Universität Berlin
3 // Copyright (c) 2016-2020, 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 
18 namespace seqan3::align_cfg
19 {
36 class min_score : public pipeable_config_element<min_score>
37 {
38 public:
41 
45  constexpr min_score() noexcept = default;
46  constexpr min_score(min_score const &) noexcept = default;
47  constexpr min_score(min_score &&) noexcept = default;
48  constexpr min_score & operator=(min_score const &) noexcept = default;
49  constexpr min_score & operator=(min_score &&) noexcept = default;
50  ~min_score() noexcept = default;
51 
56  constexpr min_score(const int32_t score) :
57  score{score}
58  {}
60 
63 };
64 
65 } // namespace seqan3::align_cfg
Provides some utility functions for the alignment configurations.
Sets the minimal score (maximal errors) allowed during an distance computation e.g....
Definition: align_config_min_score.hpp:37
int32_t score
Minimal score for the distance computation [default: -infinity].
Definition: align_config_min_score.hpp:40
constexpr min_score() noexcept=default
Defaulted.
align_config_id
An internal enum to check for a consistent configuration object.
Definition: detail.hpp:24
@ min_score
ID for the min_score option.
T lowest(T... args)
A special sub namespace for the alignment configurations.
Definition: align_config_band.hpp:23
Provides seqan3::pipeable_config_element.