SeqAn3  3.0.2
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 
62  static constexpr seqan3::detail::align_config_id id{seqan3::detail::align_config_id::min_score};
63 };
64 
65 } // namespace seqan3::align_cfg
seqan3::align_cfg::min_score::score
int32_t score
Minimal score for the distance computation [default: -infinity].
Definition: align_config_min_score.hpp:40
pipeable_config_element.hpp
Provides seqan3::pipeable_config_element.
std::numeric_limits::lowest
T lowest(T... args)
seqan3::align_cfg
A special sub namespace for the alignment configurations.
Definition: align_config_band.hpp:23
seqan3::align_cfg::min_score::min_score
constexpr min_score() noexcept=default
Defaulted.
seqan3::align_cfg::min_score
Sets the minimal score (maximal errors) allowed during an distance computation e.g....
Definition: align_config_min_score.hpp:37
detail.hpp
Provides some utility functions for the alignment configurations.