40 #ifndef _CODONDISTANCEPHASEFREQUENCIESSUBSTITUTIONMODEL_H_ 41 #define _CODONDISTANCEPHASEFREQUENCIESSUBSTITUTIONMODEL_H_ 95 const GeneticCode* gCode,
98 const AlphabetIndex2* pdist = 0);
114 const GeneticCode* gCode,
119 const AlphabetIndex2* pdist = 0);
137 void setFreq(std::map<int,double>& frequencies);
Abstract Class for substitution models on codons parametrized by a frequency.
std::string getName() const
Get the name of the model.
void fireParameterChanged(const ParameterList ¶meterlist)
Tells the model that a parameter value has changed.
void setFreq(std::map< int, double > &frequencies)
Set equilibrium frequencies.
Parametrize a set of state frequencies.
Abstract class for modelling of non-synonymous abd synonymous substitution rates in codon models...
CodonDistancePhaseFrequenciesSubstitutionModel * clone() const
Specialisation interface for nucleotide substitution model.
CodonDistancePhaseFrequenciesSubstitutionModel(const GeneticCode *gCode, NucleotideSubstitutionModel *pmod, FrequenciesSet *pfreq, const AlphabetIndex2 *pdist=0)
Build a new CodonDistancePhaseFrequenciesSubstitutionModel object from three pointers to AbstractSubs...
virtual ~CodonDistancePhaseFrequenciesSubstitutionModel()
Abstract class for substitution models on codons.
Class for asynonymous substitution models on codons with parameterized equilibrium frequencies and nu...
void setNamespace(const std::string &)
double getCodonsMulRate(size_t i, size_t j) const
Returns the multiplicative rate specific to two codons specified by their number. The respective gene...