5 #include "../FrequencySet/CodonFrequencySet.h"
6 #include "../Nucleotide/K80.h"
15 std::shared_ptr<const GeneticCode> gc,
16 std::unique_ptr<CodonFrequencySetInterface> codonFreqs) :
28 make_unique<
K80>(gc->codonAlphabet().getNucleicAlphabet()),
29 std::move(codonFreqs),
40 vector<std::string> v =
pmodel_->frequencySet().getParameters().getParameterNames();
41 for (
unsigned int i = 0; i < v.size(); i++)
void updateMatrices_() override
AbstractBiblioSubstitutionModel & operator=(const AbstractBiblioSubstitutionModel &model)
Partial implementation of the SubstitutionModel interface for models that are set for matching the bi...
std::map< std::string, std::string > mapParNamesFromPmodel_
Tools to make the link between the Parameters of the object and those of pmixmodel_.
ParameterList lParPmodel_
void addParameters_(const ParameterList ¶meters)
void addParameter_(Parameter *parameter)
Abstract class of Wrapping model class, where all methods are redirected from model().
Class for asynonymous substitution models on codons with parameterized equilibrium frequencies and nu...
The Goldman and Yang (1994) substitution model for codons.
std::unique_ptr< CodonDistanceFrequenciesSubstitutionModel > pmodel_
GY94 & operator=(const GY94 &gy94)
GY94(std::shared_ptr< const GeneticCode > gc, std::unique_ptr< CodonFrequencySetInterface > codonFreqs)
The Kimura 2-rates substitution model for nucleotides.
virtual void addParameters(const ParameterList ¶ms)
static const std::shared_ptr< IntervalConstraint > R_PLUS_STAR
virtual std::string getParameterNameWithoutNamespace(const std::string &name) const=0
Defines the basic types of data flow nodes.