Loading...
Searching...
No Matches
max_error_common.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 <concepts>
#include <seqan3/core/detail/strong_type.hpp>
#include <seqan3/utility/concept.hpp>
namespace seqan3::search_cfg
{
struct error_count :
detail::
strong_type<uint8_t, error_count, detail::strong_type_skill::convert | detail::strong_type_skill::comparable>
{
using detail::strong_type<uint8_t,
error_count,
detail::strong_type_skill::convert | detail::strong_type_skill::comparable>::strong_type;
};
struct error_rate :
detail::strong_type<double, error_rate, detail::strong_type_skill::convert | detail::strong_type_skill::comparable>
{
using detail::strong_type<double,
error_rate,
detail::strong_type_skill::convert | detail::strong_type_skill::comparable>::strong_type;
};
} // namespace seqan3::search_cfg
seqan3::search_cfg
A special sub namespace for the search configurations.
strong_type.hpp
Provides basic data structure for strong types.
seqan3::search_cfg::error_count
A strong type of underlying type uint8_t that represents the number of errors.
Definition max_error_common.hpp:29
seqan3::search_cfg::error_rate
A strong type of underlying type double that represents the rate of errors.
Definition max_error_common.hpp:43
concept.hpp
Provides concepts that do not have equivalents in C++20.
Hide me