libsequence
1.9.5
|
Weights paths by Grantham's distances for codons differing at 2 sites. More...
#include <Sequence/GranthamWeights.hpp>
Public Types | |
using | weights2_t = std::array< double, 2 > |
Public Member Functions | |
weights2_t | operator() (const std::string &codon1, const std::string &codon2, Sequence::GeneticCodes genetic_code) const |
Weights paths by Grantham's distances for codons differing at 2 sites.
Definition at line 49 of file GranthamWeights.hpp.
|
virtual |
Calculate actually calculates the weights for each branch
codon1 | a std::string of length 3 representing a sense codon |
codon2 | a std::string of length 3 representing a sense codon |
Implements Sequence::WeightingScheme2.
Definition at line 35 of file GranthamWeights.cc.