5 #ifndef BPP_PHYL_MODEL_CODON_CODONDISTANCESUBSTITUTIONMODEL_H
6 #define BPP_PHYL_MODEL_CODON_CODONDISTANCESUBSTITUTIONMODEL_H
52 std::shared_ptr<const GeneticCode> gCode,
53 std::unique_ptr<NucleotideSubstitutionModelInterface> pmod,
54 std::shared_ptr<const AlphabetIndex2> pdist);
69 std::shared_ptr<const GeneticCode> gCode,
70 std::unique_ptr<NucleotideSubstitutionModelInterface> pmod1,
71 std::unique_ptr<NucleotideSubstitutionModelInterface> pmod2,
72 std::unique_ptr<NucleotideSubstitutionModelInterface> pmod3,
73 std::shared_ptr<const AlphabetIndex2> pdist);
Abstract class for modelling of non-synonymous and synonymous substitution rates in codon models.
Abstract class for substitution models on codons.
void setNamespace(const std::string &prefix)
Class for substitution models of codons with non-synonymous/synonymous ratios of substitution rates d...
double getCodonsMulRate(size_t i, size_t j) const
Returns the multiplicative rate specific to two codons specified by their number. The respective gene...
void setNamespace(const std::string &prefix)
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.
CodonDistanceSubstitutionModel * clone() const
virtual ~CodonDistanceSubstitutionModel()
void fireParameterChanged(const ParameterList ¶meterlist)
std::string getName() const
Get the name of the model.
Defines the basic types of data flow nodes.