SeqAn3 3.4.0-rc.1
The Modern C++ library for sequence analysis.
Loading...
Searching...
No Matches
max_error_common.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin
2// SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
3// SPDX-License-Identifier: BSD-3-Clause
4
11#pragma once
12
13#include <concepts>
14
17
18namespace seqan3::search_cfg
19{
20
27 detail::
28 strong_type<uint8_t, error_count, detail::strong_type_skill::convert | detail::strong_type_skill::comparable>
29{
31 using detail::strong_type<uint8_t,
33 detail::strong_type_skill::convert | detail::strong_type_skill::comparable>::strong_type;
34};
35
41struct error_rate :
42 detail::strong_type<double, error_rate, detail::strong_type_skill::convert | detail::strong_type_skill::comparable>
43{
45 using detail::strong_type<double,
47 detail::strong_type_skill::convert | detail::strong_type_skill::comparable>::strong_type;
48};
49
50} // namespace seqan3::search_cfg
A special sub namespace for the search configurations.
Provides basic data structure for strong types.
A strong type of underlying type uint8_t that represents the number of errors.
Definition max_error_common.hpp:29
A strong type of underlying type double that represents the rate of errors.
Definition max_error_common.hpp:43
Provides concepts that do not have equivalents in C++20.
Hide me