5 #ifndef BPP_PHYL_MODEL_CODON_YNGP_M8_H
6 #define BPP_PHYL_MODEL_CODON_YNGP_M8_H
53 std::shared_ptr<const GeneticCode> gc,
54 std::unique_ptr<CodonFrequencySetInterface> codonFreqs,
56 bool neutral =
false);
77 std::string
getName()
const override {
return neutral_ ?
"YNGP_M8a" :
"YNGP_M8"; }
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) M8 substitution model for codons.
YNGP_M8(std::shared_ptr< const GeneticCode > gc, std::unique_ptr< CodonFrequencySetInterface > codonFreqs, unsigned int nbclass, bool neutral=false)
Constructor that requires the number of classes of the BetaDiscreteDistribution.
YNGP_M8 * clone() const override
void updateMatrices_() override
YNGP_M8 & operator=(const YNGP_M8 &mod2)
bool neutral_
If parameter omega=1.
YNGP_M8(const YNGP_M8 &mod2)
std::string getName() const override
Get the name of the model.
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.