5#ifndef BPP_PHYL_MODEL_NUCLEOTIDE_GBGC_H
6#define BPP_PHYL_MODEL_NUCLEOTIDE_GBGC_H
10#include "../AbstractSubstitutionModel.h"
49 std::unique_ptr<NucleotideSubstitutionModelInterface>
model_;
62 std::shared_ptr<const NucleicAlphabet>,
63 std::unique_ptr<NucleotideSubstitutionModelInterface>,
77 return model_->getName() +
"+gBGC";
Specialisation abstract class for nucleotide substitution model.
Interface for all substitution models.
const SubstitutionModelInterface & nestedModel() const
void setNamespace(const std::string &) override
void updateMatrices_() override
Diagonalize the matrix, and fill the eigenValues_, iEigenValues_, leftEigenVectors_ and rightEigenVe...
std::string nestedPrefix_
std::unique_ptr< NucleotideSubstitutionModelInterface > model_
std::string getName() const override
Get the name of the model.
void fireParameterChanged(const ParameterList &) override
Tells the model that a parameter value has changed.
gBGC & operator=(const gBGC &gbgc)
size_t getNumberOfStates() const override
Get the number of states.
gBGC * clone() const override
gBGC(std::shared_ptr< const NucleicAlphabet >, std::unique_ptr< NucleotideSubstitutionModelInterface >, double B=0)
Build a new gBGC substitution model.
double B_
the value of the bias.
Defines the basic types of data flow nodes.