SeqAn3 3.4.0-rc.4
The Modern C++ library for sequence analysis.
Loading...
Searching...
No Matches
hamming_scoring_scheme.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2006-2025 Knut Reinert & Freie Universität Berlin
2// SPDX-FileCopyrightText: 2016-2025 Knut Reinert & MPI für molekulare Genetik
3// SPDX-License-Identifier: BSD-3-Clause
4
10#pragma once
11
12#include <concepts>
13
15
16namespace seqan3
17{
18
96
97} // namespace seqan3
A scoring scheme that assigns a score of 0 to matching letters and -1 to mismatching letters.
Definition hamming_scoring_scheme.hpp:33
int32_t score_type
The underlying score type.
Definition hamming_scoring_scheme.hpp:41
constexpr bool operator==(hamming_scoring_scheme const &) const noexcept
Always true.
Definition hamming_scoring_scheme.hpp:84
char alphabet_type
The alphabet type of the scoring scheme. This type is only used for the alignment configuration machi...
Definition hamming_scoring_scheme.hpp:37
constexpr bool operator!=(hamming_scoring_scheme const &) const noexcept
Always false.
Definition hamming_scoring_scheme.hpp:90
constexpr score_type score(alph1_t const alph1, alph2_t const alph2) const noexcept
Returns the score of two letters.
Definition hamming_scoring_scheme.hpp:74
hamming_scoring_scheme() noexcept=default
Defaulted.
The main SeqAn3 namespace.
Definition aligned_sequence_concept.hpp:26
constexpr auto const & get(configuration< configs_t... > const &config) noexcept
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition configuration.hpp:412
SeqAn specific customisations in the standard namespace.
Provides platform and dependency checks.
Hide me