5 #ifndef BPP_PHYL_MODEL_CODON_ABSTRACTCODONBGCSUBSTITUTIONMODEL_H
6 #define BPP_PHYL_MODEL_CODON_ABSTRACTCODONBGCSUBSTITUTIONMODEL_H
61 std::shared_ptr<const GeneticCode> pgencode,
62 const std::string& prefix);
98 throw NullPointerException(
"AbstractCodonBGCSubstitutionModel::frequencySet. No associated FrequencySet.");
106 void setFreq(std::map<int, double>& frequencies)
override {}
Abstract class for modelling of non-synonymous and synonymous substitution rates in codon models,...
AbstractCodonBGCSubstitutionModel & operator=(const AbstractCodonBGCSubstitutionModel &model)
AbstractCodonBGCSubstitutionModel * clone() const override
virtual ~AbstractCodonBGCSubstitutionModel()
bool hasCodonFrequencySet() const override
AbstractCodonBGCSubstitutionModel(std::shared_ptr< const GeneticCode > pgencode, const std::string &prefix)
Build a new AbstractCodonBGCSubstitutionModel object.
AbstractCodonBGCSubstitutionModel(const AbstractCodonBGCSubstitutionModel &model)
void setFreq(std::map< int, double > &frequencies) override
std::shared_ptr< const StateMapInterface > stateMap_
const CodonFrequencySetInterface & codonFrequencySet() const override
std::shared_ptr< const GeneticCode > pgencode_
double getCodonsMulRate(size_t i, size_t j) const override
Returns the multiplicative rate specific to two codons specified by their number. The respective gene...
void fireParameterChanged(const ParameterList ¶meters) override
AbstractParameterAliasable & operator=(const AbstractParameterAliasable &ap)
Parametrize a set of state frequencies for codons.
Interface for codon models.
Defines the basic types of data flow nodes.