Loading...
Searching...
No Matches
alignment_algorithm_state.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 <seqan3/alignment/matrix/detail/alignment_optimum.hpp>
#include <seqan3/utility/concept.hpp>
#include <seqan3/utility/simd/concept.hpp>
namespace seqan3::detail
{
template <typename score_type>
requires arithmetic<score_type> || simd_concept<score_type>
struct alignment_algorithm_state
{
score_type gap_extension_score{};
score_type gap_open_score{};
alignment_optimum<score_type> optimum{};
constexpr void reset_optimum() noexcept
{
optimum = alignment_optimum<score_type>{};
}
};
template <typename score_type>
alignment_algorithm_state(score_type, score_type) -> alignment_algorithm_state<score_type>;
} // namespace seqan3::detail
alignment_optimum.hpp
Provides seqan3::detail::alignment_optimum.
concept.hpp
Provides concepts that do not have equivalents in C++20.
Hide me