5 #ifndef BPP_PHYL_MODEL_CODON_GY94_H
6 #define BPP_PHYL_MODEL_CODON_GY94_H
10 #include "../AbstractBiblioSubstitutionModel.h"
52 std::shared_ptr<const GranthamAAChemicalDistance>
gacd_;
53 std::unique_ptr<CodonDistanceFrequenciesSubstitutionModel>
pmodel_;
57 std::shared_ptr<const GeneticCode> gc,
58 std::unique_ptr<CodonFrequencySetInterface> codonFreqs);
69 std::string
getName()
const override {
return "GY94"; }
The Goldman and Yang (1994) substitution model for codons.
std::string getName() const override
Get the name of the model.
double getCodonsMulRate(size_t i, size_t j) const
GY94 * clone() const override
std::unique_ptr< CodonDistanceFrequenciesSubstitutionModel > pmodel_
std::shared_ptr< const GeneticCode > getGeneticCode() const
std::shared_ptr< const GranthamAAChemicalDistance > gacd_
const SubstitutionModelInterface & substitutionModel() const override
GY94 & operator=(const GY94 &gy94)
GY94(std::shared_ptr< const GeneticCode > gc, std::unique_ptr< CodonFrequencySetInterface > codonFreqs)
SubstitutionModelInterface & substitutionModel_() override
Interface for reversible substitution models.
Interface for all substitution models.
Defines the basic types of data flow nodes.