5 #ifndef BPP_PHYL_MODEL_CODON_ABSTRACTDFPSUBSTITUTIONMODEL_H
6 #define BPP_PHYL_MODEL_CODON_ABSTRACTDFPSUBSTITUTIONMODEL_H
9 #include "../AbstractSubstitutionModel.h"
46 std::shared_ptr<const GeneticCode>
gCode_;
55 std::shared_ptr<const GeneticCode> gCode,
56 const std::string& prefix =
"AbstractDFP. ");
Class for neutral substitution models on triplets, following the mutation process proposed in Doron-F...
AbstractDFPSubstitutionModel(const AbstractDFPSubstitutionModel &mod)
virtual ~AbstractDFPSubstitutionModel()
AbstractDFPSubstitutionModel(std::shared_ptr< const GeneticCode > gCode, const std::string &prefix="AbstractDFP. ")
Build a new AbstractDFPSubstitutionModel object.
size_t getNumberOfStates()
double getCodonsMulRate(size_t i, size_t j) const override
Calls the multiplication by the specific codon-codon rate.
void fireParameterChanged(const ParameterList ¶meters) override
Tells the model that a parameter value has changed.
AbstractDFPSubstitutionModel * clone() const override=0
std::shared_ptr< const GeneticCode > getGeneticCode() const override
void updateMatrices_() override
Method inherited from AbstractSubstitutionModel.
std::shared_ptr< const GeneticCode > gCode_
AbstractDFPSubstitutionModel & operator=(const AbstractDFPSubstitutionModel &mod)
AbstractSubstitutionModel & operator=(const AbstractSubstitutionModel &model)
virtual size_t getNumberOfStates() const =0
Get the number of states.
Defines the basic types of data flow nodes.