SeqAn3  3.0.0
The Modern C++ library for sequence analysis.
scoring_scheme_concept.hpp
Go to the documentation of this file.
1 // -----------------------------------------------------------------------------------------------------
2 // Copyright (c) 2006-2019, Knut Reinert & Freie Universität Berlin
3 // Copyright (c) 2016-2019, Knut Reinert & MPI für molekulare Genetik
4 // This file may be used, modified and/or redistributed under the terms of the 3-clause BSD-License
5 // shipped with this file and also available at: https://github.com/seqan/seqan3/blob/master/LICENSE.md
6 // -----------------------------------------------------------------------------------------------------
7 
13 #pragma once
14 
16 
17 namespace seqan3
18 {
19 
57 
60 template <typename t, Alphabet alphabet_t, Alphabet alphabet2_t = alphabet_t>
61 SEQAN3_CONCEPT ScoringScheme = requires (t scheme,
62  alphabet_t const alph1,
63  alphabet2_t const alph2)
64 {
66  { scheme.score(alphabet_t{}, alphabet2_t{}) }
68 };
70 
71 } // namespace seqan3
The main SeqAn3 namespace.
The concept std::CommonReference<T, U> specifies that two types T and U share a common reference type...
Core alphabet concept and free function/type trait wrappers.