5 #ifndef BPP_PHYL_MODEL_NUCLEOTIDE_L95_H
6 #define BPP_PHYL_MODEL_NUCLEOTIDE_L95_H
10 #include "../AbstractSubstitutionModel.h"
65 std::shared_ptr<const NucleicAlphabet>
alphabet,
77 std::string
getName()
const override {
return "L95"; }
82 void setFreq(std::map<int, double>&)
override;
Specialisation abstract class for nucleotide substitution model.
const Alphabet & alphabet() const override
The no-strand bias substitution model for nucleotides, from Lobry 1995. The point of this model is th...
void setFreq(std::map< int, double > &) override
This method is redefined to actualize the corresponding parameters theta too.
std::string getName() const override
Get the name of the model.
void updateMatrices_() override
Diagonalize the matrix, and fill the eigenValues_, iEigenValues_, leftEigenVectors_ and rightEigenVe...
L95 * clone() const override
L95(std::shared_ptr< const NucleicAlphabet > alphabet, double alpha=0.5, double beta=0.5, double gamma=0.5, double kappa=1., double theta=0.5)
Defines the basic types of data flow nodes.