14 shared_ptr<const GeneticCode> gCode,
15 unique_ptr<CodonFrequencySetInterface> pfreq,
16 shared_ptr<const AlphabetIndex2> pdist) :
Abstract class for modelling of non-synonymous and synonymous substitution rates in codon models.
double getCodonsMulRate(size_t i, size_t j) const override
Returns the multiplicative rate specific to two codons specified by their number. The respective gene...
void fireParameterChanged(const ParameterList ¶meters) override
Abstract Class for substitution models on codons parametrized by frequencies.
const CodonFrequencySetInterface & codonFrequencySet() const override
void setFreq(std::map< int, double > &frequencies) override
void fireParameterChanged(const ParameterList ¶meters) override
double getCodonsMulRate(size_t, size_t) const override
Returns the multiplicative rate specific to two codons specified by their number. The respective gene...
void setNamespace(const std::string &prefix) override
Class for neutral substitution models on triplets, following the mutation process proposed in Doron-F...
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.
void updateMatrices_() override
Method inherited from AbstractSubstitutionModel.
void setNamespace(const std::string &prefix)
Vdouble & getFrequencies_() override
std::string getName() const override
Get the name of the model.
void setFreq(std::map< int, double > &frequencies) override
DFPDistanceFrequenciesSubstitutionModel(std::shared_ptr< const GeneticCode > gCode, std::unique_ptr< CodonFrequencySetInterface > pfreq, std::shared_ptr< const AlphabetIndex2 > pdist=nullptr)
Build a new DFPDistanceFrequenciesSubstitutionModel object from three pointers to AbstractSubstitutio...
double getCodonsMulRate(size_t i, size_t j) const override
Returns the multiplicative rate specific to two codons specified by their number. The respective gene...
void fireParameterChanged(const ParameterList ¶meterlist) override
void setNamespace(const std::string &) override
virtual const Vdouble & getFrequencies() const =0
Defines the basic types of data flow nodes.