40 #ifndef _CODONRATESUBSTITUTIONMODEL_H_ 41 #define _CODONRATESUBSTITUTIONMODEL_H_ 44 #include "../Nucleotide/NucleotideSubstitutionModel.h" 70 const GeneticCode* gCode,
85 const GeneticCode* gCode,
92 #ifndef NO_VIRTUAL_COV std::string getName() const
Get the name of the model.
void fireParameterChanged(const ParameterList ¶meterlist)
Tells the model that a parameter value has changed.
Class for substitution models on non stop codons, with different rates on the models, depending on their phase.
virtual ~CodonRateSubstitutionModel()
CodonRateSubstitutionModel * clone() const
CodonRateSubstitutionModel(const GeneticCode *gCode, NucleotideSubstitutionModel *pmod)
Build a new CodonRateSubstitutionModel object from a pointer to NucleotideSubstitutionModels.
double getCodonsMulRate(size_t i, size_t j) const
Method inherited from CodonSubstitutionModel.
Specialisation interface for nucleotide substitution model.
Abstract class for substitution models on codons.