43 #include "../AbstractBiblioMixedSubstitutionModel.h" 44 #include "../MixtureOfASubstitutionModel.h" 45 #include "../FrequenciesSet/CodonFrequenciesSet.h" 47 #include <Bpp/Seq/GeneticCode/GeneticCode.h> 107 std::string
getName()
const {
return "YNGKP_M2"; }
119 #endif //_YNGKP_M2_H_
Interface for all substitution models.
Abstract class for mixture models based on the bibliography.
const SubstitutionModel & getModel() const
std::auto_ptr< MixtureOfASubstitutionModel > pmixmodel_
std::string getName() const
Get the name of the model.
Parametrize a set of state frequencies.
YNGKP_M2(const GeneticCode *gc, FrequenciesSet *codonFreqs)
size_t synfrom_
indexes of 2 codons between which the substitution is synonymous, to set a basis to the homogeneizati...
Interface for reversible substitution models.
const MixedSubstitutionModel & getMixedModel() const
MixedSubstitutionModel & getMixedModel()
SubstitutionModel & getModel()
The Yang et al (2000) M2 substitution model for codons, with the more realistic modification in Wong ...
const FrequenciesSet * getFrequenciesSet() const
If the model owns a FrequenciesSet, returns a pointer to it, otherwise return 0.
YNGKP_M2 & operator=(const YNGKP_M2 &)
Interface for Substitution models, defined as a mixture of "simple" substitution models.