Definition
An instance S of the data type score_matrix is an object required by
alignment computations. The object contains an alphabet representing residues and
maintains a table that assigns a score to any pair of aligned residues. In addition it
maintains the gap penalty values.
Remark: This data type is experimental. It can significantly change
in future versions.
#include < LEDA/string/score_matrix.h >
Creation
score_matrix | S(int defmatch = 1, int defmismatch = -1) | |
creates an instance S of type score_matrix. The alphabet is set to the standard alphabet consisting of the capital letters A - Z. The scores are initialized to defmatch if the letters are idendical (1 by default), to defmismatch otherwise (-1 by default). | ||
score_matrix | S(alphabet& alt, int defmatch = 1, int defmismatch = -1) | |
creates an instance S of type score_matrix. The alphabet is set to alt. The scores are initialized to defmatch if the letters are idendical (1 by default), to defmismatch otherwise (-1 by default). |
Operations