5 #ifndef BPP_PHYL_MODEL_CODON_ABSTRACTCODONPHASEFREQUENCIESSUBSTITUTIONMODEL_H
6 #define BPP_PHYL_MODEL_CODON_ABSTRACTCODONPHASEFREQUENCIESSUBSTITUTIONMODEL_H
9 #include "../FrequencySet/CodonFrequencySet.h"
54 std::unique_ptr<CodonFrequencySetInterface> pfreq,
55 const std::string& prefix);
81 void setFreq(std::map<int, double>& frequencies)
override;
Abstract Class for substitution models on codons parametrized by a frequency.
const CodonFrequencySetInterface & codonFrequencySet() const override
AbstractCodonPhaseFrequenciesSubstitutionModel(std::unique_ptr< CodonFrequencySetInterface > pfreq, const std::string &prefix)
Build a AbstractCodonPhaseFrequenciesSubstitutionModel instance.
AbstractCodonPhaseFrequenciesSubstitutionModel & operator=(const AbstractCodonPhaseFrequenciesSubstitutionModel &model)
double getCodonsMulRate(size_t, size_t) const override
Returns the multiplicative rate specific to two codons specified by their number. The respective gene...
void setFreq(std::map< int, double > &frequencies) override
AbstractCodonPhaseFrequenciesSubstitutionModel(const AbstractCodonPhaseFrequenciesSubstitutionModel &model)
void setNamespace(const std::string &prefix) override
bool hasCodonFrequencySet() const override
std::unique_ptr< CodonFrequencySetInterface > posFreqSet_
Position dependent version of Codon Frequencies Set.
AbstractCodonPhaseFrequenciesSubstitutionModel * clone() const override
virtual ~AbstractCodonPhaseFrequenciesSubstitutionModel()
const FrequencySetInterface & frequencySet() const
void fireParameterChanged(const ParameterList ¶meters) override
AbstractParameterAliasable & operator=(const AbstractParameterAliasable &ap)
void setNamespace(const std::string &prefix)
Parametrize a set of state frequencies for codons.
Interface for codon models.
Parametrize a set of state frequencies.
Defines the basic types of data flow nodes.