5 #include "../FrequencySet/CodonFrequencySet.h"
6 #include "../Nucleotide/K80.h"
15 std::shared_ptr<const GeneticCode> gc,
16 std::unique_ptr<CodonFrequencySetInterface> codonFreqs) :
27 make_unique<
K80>(gc->codonAlphabet().getNucleicAlphabet()),
28 std::move(codonFreqs)))
37 vector<std::string> v =
pmodel_->frequencySet().getParameters().getParameterNames();
38 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 Kimura 2-rates substitution model for nucleotides.
The Muse and Gaut (1994) substitution model for codons.
std::unique_ptr< CodonDistancePhaseFrequenciesSubstitutionModel > pmodel_
MG94(std::shared_ptr< const GeneticCode > gc, std::unique_ptr< CodonFrequencySetInterface > codonFreqs)
MG94 & operator=(const MG94 &mg94)
virtual void addParameters(const ParameterList ¶ms)
virtual std::string getParameterNameWithoutNamespace(const std::string &name) const=0
Defines the basic types of data flow nodes.