43 #include "../AbstractSubstitutionModel.h" 45 #include <Bpp/Seq/Alphabet/RNY.h> 49 #include <Bpp/Exceptions.h> 143 YpR(
const YpR&,
const std::string& prefix);
149 AbstractParameterAliasable::operator=(ypr);
150 AbstractSubstitutionModel::operator=(ypr);
165 void updateMatrices(
double,
double,
double,
double,
166 double,
double,
double,
double);
170 return _nestedPrefix;
180 virtual void updateMatrices();
182 virtual void setNamespace(
const std::string&);
186 AbstractSubstitutionModel::fireParameterChanged(parameters);
187 pmodel_->matchParametersValues(parameters);
224 double CgT = 0.,
double TgC = 0.,
225 double CaT = 0.,
double TaC = 0.);
233 std::string getName()
const;
235 void updateMatrices();
270 double CgT = 0.,
double cGA = 0.,
271 double TgC = 0.,
double tGA = 0.,
272 double CaT = 0.,
double cAG = 0.,
273 double TaC = 0.,
double tAG = 0.);
281 std::string getName()
const;
283 void updateMatrices();
Interface for all substitution models.
std::string _nestedPrefix
size_t getNumberOfStates() const
Get the number of states.
Partial implementation of the SubstitutionModel interface.
void fireParameterChanged(const ParameterList ¶meters)
Tells the model that a parameter value has changed.
SubstitutionModel * pmodel_
YpR & operator=(const YpR &ypr)
const SubstitutionModel * getNestedModel() const
SubstitutionModel * clone() const =0
string getNestedPrefix() const