Loading...
Searching...
No Matches
align_config_min_score.hpp
Go to the documentation of this file.
// SPDX-FileCopyrightText: 2006-2025 Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2025 Knut Reinert & MPI für molekulare Genetik
// SPDX-License-Identifier: BSD-3-Clause
#pragma once
#include <limits>
#include <seqan3/alignment/configuration/detail.hpp>
#include <seqan3/core/configuration/pipeable_config_element.hpp>
namespace seqan3::align_cfg
{
class min_score : private pipeable_config_element
{
public:
int32_t score{std::numeric_limits<int32_t>::lowest()};
constexpr min_score() noexcept = default;
constexpr min_score(min_score const &) noexcept = default;
constexpr min_score(min_score &&) noexcept = default;
constexpr min_score & operator=(min_score const &) noexcept = default;
constexpr min_score & operator=(min_score &&) noexcept = default;
~min_score() noexcept = default;
constexpr min_score(int32_t const score) : score{score}
{}
static constexpr seqan3::detail::align_config_id id{seqan3::detail::align_config_id::min_score};
};
} // namespace seqan3::align_cfg
detail.hpp
Provides some utility functions for the alignment configurations.
seqan3::align_cfg::min_score::score
int32_t score
Minimal score for the distance computation [default: -infinity].
Definition align_config_min_score.hpp:39
seqan3::align_cfg::min_score::min_score
constexpr min_score() noexcept=default
Defaulted.
limits
std::numeric_limits::lowest
T lowest(T... args)
seqan3::align_cfg
A special sub namespace for the alignment configurations.
Definition align_config_band.hpp:22
pipeable_config_element.hpp
Provides seqan3::pipeable_config_element.
seqan3::pipeable_config_element
Adds pipe interface to configuration elements.
Definition pipeable_config_element.hpp:29
Hide me