5 #ifndef BPP_PHYL_MODEL_NUCLEOTIDE_SSR_H
6 #define BPP_PHYL_MODEL_NUCLEOTIDE_SSR_H
10 #include "../AbstractSubstitutionModel.h"
69 SSR(std::shared_ptr<const NucleicAlphabet> alpha,
80 std::string
getName()
const override {
return "SSR"; }
85 void setFreq(std::map<int, double>&)
override;
Specialisation abstract class for reversible nucleotide substitution model.
The Strand Symmetric Reversible substitution model for nucleotides.
SSR * clone() const override
void setFreq(std::map< int, double > &) override
This method is redefined to actualize the corresponding parameters theta too.
void updateMatrices_() override
Compute and diagonalize the matrix, and fill the eigenValues_, leftEigenVectors_ and rightEigenVecto...
SSR(std::shared_ptr< const NucleicAlphabet > alpha, double beta=1., double gamma=1., double delta=1., double theta=0.5)
std::string getName() const override
Get the name of the model.
Defines the basic types of data flow nodes.