abstract interface to weighting schemes when codons differ at 2 positions More...
#include <Sequence/WeightingSchemes.hpp>
Public Member Functions | |
| virtual void | Calculate (const std::string &codon1, const std::string &codon2) const =0 |
| virtual double * | weights (void) const =0 |
abstract interface to weighting schemes when codons differ at 2 positions
Definition at line 81 of file WeightingSchemes.hpp.
| Sequence::WeightingScheme2::Calculate | ( | const std::string & | codon1, | |
| const std::string & | codon2 | |||
| ) | const [pure 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 |
Implemented in Sequence::GranthamWeights2, and Sequence::Unweighted2.
| Sequence::WeightingScheme2::weights | ( | void | ) | const [pure virtual] |
Implemented in Sequence::GranthamWeights2, and Sequence::Unweighted2.
1.6.1