libsequence
1.9.5
|
#include <Sequence/Grantham.hpp>
Public Member Functions | |
Grantham (const double stop=std::numeric_limits< double >::max()) | |
double | operator() (char aa1, char aa2) const |
Grantham's distances.
A functor to return the Grantham's distance between two amino acids.
Definition at line 40 of file Grantham.hpp.
double Sequence::Grantham::operator() | ( | char | aa1, |
char | aa2 | ||
) | const |
Returns the distance between two amino acids. A distance of "stopweight" is used if one of the amino acids is a stop (a '*' character).
Definition at line 476 of file Grantham.cc.