13 unique_ptr<CodonFrequencySetInterface> pfreq,
14 const string& prefix) :
16 pfreqset_(std::move(pfreq)),
32 pfreqset_->matchParametersValues(parameters);
39 pfreqset_->setFrequenciesFromAlphabetStatesFrequencies(frequencies);
void setFreq(std::map< int, double > &frequencies) override
void fireParameterChanged(const ParameterList ¶meters) override
double getCodonsMulRate(size_t, size_t) const override
Returns the multiplicative rate specific to two codons specified by their number. The respective gene...
AbstractCodonFrequenciesSubstitutionModel(std::unique_ptr< CodonFrequencySetInterface > pfreq, const std::string &prefix)
Build a AbstractCodonFrequenciesSubstitutionModel instance.
std::unique_ptr< CodonFrequencySetInterface > pfreqset_
virtual ~AbstractCodonFrequenciesSubstitutionModel()
void addParameters_(const ParameterList ¶meters)
bool matchParametersValues(const ParameterList ¶meters) override
Defines the basic types of data flow nodes.