7 #include "../FrequencySet/ProteinFrequencySet.h"
8 #include "../MixtureOfSubstitutionModels.h"
26 vector<unique_ptr<TransitionModelInterface>> vpSM;
27 vpSM.push_back(make_unique<LG10_EX_EHO::EmbeddedModel>(alpha,
"BUR_EXT"));
28 vpSM.push_back(make_unique<LG10_EX_EHO::EmbeddedModel>(alpha,
"BUR_HEL"));
29 vpSM.push_back(make_unique<LG10_EX_EHO::EmbeddedModel>(alpha,
"BUR_OTH"));
30 vpSM.push_back(make_unique<LG10_EX_EHO::EmbeddedModel>(alpha,
"EXP_EXT"));
31 vpSM.push_back(make_unique<LG10_EX_EHO::EmbeddedModel>(alpha,
"EXP_HEL"));
32 vpSM.push_back(make_unique<LG10_EX_EHO::EmbeddedModel>(alpha,
"EXP_OTH"));
39 vrate.push_back(vi->getRate());
46 for (
unsigned int i = 0; i < pl.
size(); ++i)
48 name = pl[i].getName();
54 mixedModelPtr_->parameter(st).hasConstraint() ? std::shared_ptr<ConstraintInterface>(
mixedModelPtr_->parameter(st).getConstraint()->clone()) : 0));
63 shared_ptr<const ProteicAlphabet> alpha,
70 #include "__LG10_EX_EHOExchangeabilityCode"
71 #include "__LG10_EX_EHOFrequenciesCode"
72 #include "__LG10_EX_EHORatesProps"
Abstract class for mixture models based on the bibliography.
std::unique_ptr< MixedTransitionModelInterface > mixedModelPtr_
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_
virtual void updateMatrices_()
void addParameter_(Parameter *parameter)
Specialisation abstract class for reversible protein substitution model.
virtual void updateMatrices_() override
Compute and diagonalize the matrix, and fill the eigenValues_, leftEigenVectors_ and rightEigenVecto...
Abstract class of Wrapping model class, where all methods are redirected from model().
This class implements a state map where all resolved states are modeled.
EmbeddedModel(std::shared_ptr< const ProteicAlphabet > alpha, string name)
LG10_EX_EHO(std::shared_ptr< const ProteicAlphabet > alpha)
Build a EX_EHO model, with original equilibrium frequencies, probabilities and rates.
virtual void addParameter(const Parameter ¶m)
Defines the basic types of data flow nodes.
std::vector< double > Vdouble