libsequence  1.9.5

weights all pathways equally More...

#include <Sequence/Unweighted.hpp>

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

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
 

Detailed Description

weights all pathways equally

Note
This is generally not what you want to use (it biases the result to a higher Ka/Ks ratio)

Definition at line 47 of file Unweighted.hpp.

Member Function Documentation

◆ operator()()

WeightingScheme2::weights2_t Sequence::Unweighted2::operator() ( const std::string &  codon1,
const std::string &  codon2,
Sequence::GeneticCodes  genetic_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::WeightingScheme2.

Definition at line 29 of file Unweighted.cc.


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