5 #ifndef BPP_PHYL_MODEL_CODON_YNGP_M9_H
6 #define BPP_PHYL_MODEL_CODON_YNGP_M9_H
46 std::shared_ptr<const GeneticCode> gc,
47 std::unique_ptr<CodonFrequencySetInterface> codonFreqs,
49 unsigned int nbGamma);
73 std::string
getName()
const override {
return "YNGP_M9"; }
Partial implementation of the SubstitutionModel interface for models that are set for matching the bi...
Abstract class of Wrapping model class, where all methods are redirected from model().
The Yang et al (2000) M9 substitution model for codons.
YNGP_M9 & operator=(const YNGP_M9 &mod2)
YNGP_M9(const YNGP_M9 &mod2)
YNGP_M9 * clone() const override
std::string getName() const override
Get the name of the model.
unsigned int getNBeta() const
YNGP_M9(std::shared_ptr< const GeneticCode > gc, std::unique_ptr< CodonFrequencySetInterface > codonFreqs, unsigned int nbBeta, unsigned int nbGamma)
Constructor that requires the number of classes of the BetaDiscreteDistribution and the GammaDiscrete...
unsigned int getNGamma() const
void updateMatrices_() override
Abstract generic class for The Yang et al (2000) M substitution models for codons....
YNGP_M & operator=(const YNGP_M &mod2)
Defines the basic types of data flow nodes.