libsequence  1.9.5

Weights paths by Grantham's distances for codons differing at 3 sites. More...

#include <Sequence/GranthamWeights.hpp>

Inheritance diagram for Sequence::GranthamWeights3:
Sequence::WeightingScheme3

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
 

Detailed Description

Weights paths by Grantham's distances for codons differing at 3 sites.

Definition at line 54 of file GranthamWeights.hpp.

Member Function Documentation

◆ operator()()

WeightingScheme3::weights3_t Sequence::GranthamWeights3::operator() ( const std::string &  codon1,
const std::string &  codon2,
Sequence::GeneticCodes  code 
) const
virtual

Calculate actually calculates the weights for each branch

Parameters
codon1a std::string of length 3 representing a sense codon
codon2a std::string of length 3 representing a sense codon

Implements Sequence::WeightingScheme3.

Definition at line 91 of file GranthamWeights.cc.


The documentation for this class was generated from the following files: