5 #ifndef BPP_PHYL_MODEL_CODON_ABSTRACTKRONECKERCODONSUBSTITUTIONMODEL_H
6 #define BPP_PHYL_MODEL_CODON_ABSTRACTKRONECKERCODONSUBSTITUTIONMODEL_H
9 #include "../AbstractKroneckerWordSubstitutionModel.h"
10 #include "../Nucleotide/NucleotideSubstitutionModel.h"
44 std::shared_ptr<const GeneticCode>
gCode_;
57 std::shared_ptr<const GeneticCode> gCode,
58 std::unique_ptr<NucleotideSubstitutionModelInterface> pmod,
59 const std::string& st);
73 std::shared_ptr<const GeneticCode> gCode,
74 std::unique_ptr<NucleotideSubstitutionModelInterface> pmod,
75 const std::vector<std::set<size_t>>& vPos,
76 const std::string& st);
91 std::shared_ptr<const GeneticCode> gCode,
92 std::unique_ptr<NucleotideSubstitutionModelInterface> pmod1,
93 std::unique_ptr<NucleotideSubstitutionModelInterface> pmod2,
94 std::unique_ptr<NucleotideSubstitutionModelInterface> pmod3,
95 const std::string& st);
112 std::shared_ptr<const GeneticCode> gCode,
113 std::unique_ptr<NucleotideSubstitutionModelInterface> pmod1,
114 std::unique_ptr<NucleotideSubstitutionModelInterface> pmod2,
115 std::unique_ptr<NucleotideSubstitutionModelInterface> pmod3,
116 const std::vector<std::set< size_t>>& vPos,
117 const std::string& st);
Abstract class for substitution models on codons allowing multiple substitutions.
AbstractKroneckerCodonSubstitutionModel & operator=(const AbstractKroneckerCodonSubstitutionModel &model)
std::shared_ptr< const GeneticCode > gCode_
AbstractKroneckerCodonSubstitutionModel(std::shared_ptr< const GeneticCode > gCode, std::unique_ptr< NucleotideSubstitutionModelInterface > pmod, const std::string &st)
Build a new AbstractKroneckerCodonSubstitutionModel object from a pointer to a NucleotideSubstitution...
AbstractKroneckerCodonSubstitutionModel(const AbstractKroneckerCodonSubstitutionModel &model)
void completeMatrices_() override
Method inherited from AbstractWordSubstitutionModel.
virtual ~AbstractKroneckerCodonSubstitutionModel()
AbstractKroneckerCodonSubstitutionModel * clone() const override=0
virtual double getCodonsMulRate(size_t i, size_t j) const override
Method inherited from CodonSubstitutionModel.
std::shared_ptr< const GeneticCode > getGeneticCode() const override
Abstract Kronecker Word Model.
AbstractKroneckerWordSubstitutionModel & operator=(const AbstractKroneckerWordSubstitutionModel &)
AbstractParameterAliasable & operator=(const AbstractParameterAliasable &ap)
Defines the basic types of data flow nodes.