39 #ifndef _ABSTRACTCODONPHASEFREQUENCIESSUBSTITUTIONMODEL_H_ 40 #define _ABSTRACTCODONPHASEFREQUENCIESSUBSTITUTIONMODEL_H_ 43 #include "../FrequenciesSet/CodonFrequenciesSet.h" 71 public virtual AbstractParameterAliasable
90 const std::string& prefix);
93 AbstractParameterAliasable(model),
100 AbstractParameterAliasable::operator=(model);
113 void setFreq(std::map<int, double>& frequencies);
Abstract Class for substitution models on codons parametrized by a frequency.
WordFrequenciesSet * posfreqset_
Position dependent version of Codon Frequencies Set.
const FrequenciesSet * getFrequenciesSet() const
If the model owns a FrequenciesSet, returns a pointer to it, otherwise return 0.
Parametrize a set of state frequencies.
AbstractCodonPhaseFrequenciesSubstitutionModel & operator=(const AbstractCodonPhaseFrequenciesSubstitutionModel &model)
Frequencies in words computed from the frequencies on letters. The parameters are the parameters of t...
virtual ~AbstractCodonPhaseFrequenciesSubstitutionModel()
void setFreq(std::map< int, double > &frequencies)
Set equilibrium frequencies.
AbstractCodonPhaseFrequenciesSubstitutionModel(FrequenciesSet *pfreq, const std::string &prefix)
Build a AbstractCodonPhaseFrequenciesSubstitutionModel instance.
void setNamespace(const std::string &prefix)
void fireParameterChanged(const ParameterList ¶meters)
Abstract class for codon models.
WordFrequenciesSet * clone() const =0
AbstractCodonPhaseFrequenciesSubstitutionModel(const AbstractCodonPhaseFrequenciesSubstitutionModel &model)
virtual CodonSubstitutionModel * clone() const =0
double getCodonsMulRate(size_t, size_t) const
Returns the multiplicative rate specific to two codons specified by their number. The respective gene...