libsequence
1.9.5
|
Weights paths by Grantham's distances for codons differing at 3 sites. More...
#include <Sequence/GranthamWeights.hpp>
Public Types | |
using | weights3_t = std::array< double, 6 > |
Public Member Functions | |
weights3_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 3 sites.
Definition at line 54 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::WeightingScheme3.
Definition at line 91 of file GranthamWeights.cc.