A concept that requires that type be able to score two letters. More...
#include <seqan3/alignment/scoring/scoring_scheme_concept.hpp>
Public Member Functions | |
Requirements for seqan3::scoring_scheme_concept | |
You can expect these members on all types that implement seqan3::scoring_scheme_concept. | |
typedef IMPLEMENTATION_DEFINED | score_type |
The type returned by seqan3::scoring_scheme_concept::score(), usually a seqan3::arithmetic_concept. More... | |
score_type | score (alph1_t const alph1, alph2_t const alph2) |
Compute the score of two letters. More... | |
A concept that requires that type be able to score two letters.
t | The type the concept check is performed on (the putative scoring scheme). |
alphabet_t | The type of the first letter that you wish to score; must model seqan3::alphabet_concept. |
alphabet2_t | The type of the second letter that you wish to score; must model seqan3::alphabet_concept; defaults to alphabet_t . |
This concept makes no assumptions about configurability or assignability of the scoring scheme, only the ability to score the two letters is required.
score_type score | ( | alph1_t const | alph1, |
alph2_t const | alph2 | ||
) |
Compute the score of two letters.
alph1 | First letter. |
alph2 | Second letter. |
typedef IMPLEMENTATION_DEFINED score_type |
The type returned by seqan3::scoring_scheme_concept::score(), usually a seqan3::arithmetic_concept.