5 #ifndef BPP_PHYL_MODEL_D1WALKSUBSTITUTIONMODEL_H
6 #define BPP_PHYL_MODEL_D1WALKSUBSTITUTIONMODEL_H
122 freqSet_->matchParametersValues(parameters);
131 void setFreq(std::map<int, double>&
freq)
override;
AbstractParameterAliasable & operator=(const AbstractParameterAliasable &ap)
Partial implementation of the ReversibleSubstitutionModel interface.
AbstractSubstitutionModel & operator=(const AbstractSubstitutionModel &model)
virtual void fireParameterChanged(const ParameterList ¶meters) override
Tells the model that a parameter value has changed.
virtual double freq(size_t i) const override
The D1Walk substitution model for Integer alphabet [0;N-1]. In this model, substitutions are possible...
void fireParameterChanged(const ParameterList ¶meters) override
Tells the model that a parameter value has changed.
virtual ~D1WalkSubstitutionModel()
std::string getName() const override
Get the name of the model.
const FrequencySetInterface & frequencySet() const override
void setFreq(std::map< int, double > &freq) override
Set equilibrium frequencies.
D1WalkSubstitutionModel(std::shared_ptr< const IntegerAlphabet > alpha, unsigned short method=1)
Build a D1Walk model on a given IntegerAlphabet.
D1WalkSubstitutionModel * clone() const override
D1WalkSubstitutionModel & operator=(const D1WalkSubstitutionModel &model)
void updateMatrices_() override
std::shared_ptr< FullFrequencySet > freqSet_
The Equilibrium Frequency Set.
D1WalkSubstitutionModel(const D1WalkSubstitutionModel &model)
Parametrize a set of state frequencies.
Defines the basic types of data flow nodes.