libsequence  1.9.5

abstract interface to weighting schemes when codons differ at 2 positions More...

#include <Sequence/WeightingSchemes.hpp>

Inheritance diagram for Sequence::WeightingScheme2:
Sequence::GranthamWeights2 Sequence::Unweighted2

Public Types

using weights2_t = std::array< double, 2 >
 

Public Member Functions

virtual weights2_t operator() (const std::string &codon1, const std::string &codon2, Sequence::GeneticCodes genetic_code) const =0
 

Detailed Description

abstract interface to weighting schemes when codons differ at 2 positions

Warning
Before deriving classes from this base, please study the implementations of Sequence::TwoSubs. You should also study Sequence::GranthamWeights2 for an example of a class derived from this one

Definition at line 80 of file WeightingSchemes.hpp.


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