14 std::shared_ptr<const GeneticCode> gCode,
15 std::unique_ptr<NucleotideSubstitutionModelInterface> pmod,
16 std::shared_ptr<const AlphabetIndex2> pdist) :
26 std::shared_ptr<const GeneticCode> gCode,
27 std::unique_ptr<NucleotideSubstitutionModelInterface> pmod1,
28 std::unique_ptr<NucleotideSubstitutionModelInterface> pmod2,
29 std::unique_ptr<NucleotideSubstitutionModelInterface> pmod3,
30 std::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.
void updateMatrices_() override
Diagonalize the matrix, and fill the eigenValues_, iEigenValues_, leftEigenVectors_ and rightEigenVe...
bool computeFrequencies() const
virtual void fireParameterChanged(const ParameterList ¶meters) override
Tells the model that a parameter value has changed.
double getCodonsMulRate(size_t i, size_t j) const
Returns the multiplicative rate specific to two codons specified by their number. The respective gene...
CodonDistanceSubstitutionModel(std::shared_ptr< const GeneticCode > gCode, std::unique_ptr< NucleotideSubstitutionModelInterface > pmod, std::shared_ptr< const AlphabetIndex2 > pdist)
Build a new CodonDistanceSubstitutionModel object from a pointer to NucleotideSubstitutionModel.
void fireParameterChanged(const ParameterList ¶meterlist)
std::string getName() const
Get the name of the model.
Defines the basic types of data flow nodes.