Sequence::Unweighted3 Class Reference
[Classes and functions relating to pathway weighting for Ka/Ks]

weights all pathways equally More...

#include <Sequence/Unweighted.hpp>

Inheritance diagram for Sequence::Unweighted3:
Sequence::WeightingScheme3

List of all members.

Public Member Functions

void Calculate (const std::string &codon1, const std::string &codon2) const
double * weights (void) 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 62 of file Unweighted.hpp.


Member Function Documentation

void Sequence::Unweighted3::Calculate ( const std::string &  codon1,
const std::string &  codon2 
) const [virtual]

Calculate actually calculates the weights for each branch

Parameters:
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 47 of file Unweighted.cc.

double * Sequence::Unweighted3::weights ( void   )  const [virtual]
Returns:
a double * of size 6 (1 value for each branch)

Implements Sequence::WeightingScheme3.

Definition at line 62 of file Unweighted.cc.


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

Generated on Mon Jul 12 15:22:06 2010 for libsequence by  doxygen 1.6.1