44 #include "../AbstractSubstitutionModel.h" 135 mutable RowMatrix<double>
p_;
138 JCnuc(
const NucleicAlphabet* alpha);
142 #ifndef NO_VIRTUAL_COV 150 double Pij_t (
size_t i,
size_t j,
double d)
const;
151 double dPij_dt (
size_t i,
size_t j,
double d)
const;
152 double d2Pij_dt2(
size_t i,
size_t j,
double d)
const;
153 const Matrix<double>&
getPij_t (
double d)
const;
154 const Matrix<double>&
getdPij_dt (
double d)
const;
157 std::string
getName()
const {
return "JC69"; }
void setFreqFromData(const SequenceContainer &data, double pseudoCount=0)
This method is disabled in this model since frequencies are not free parameters.
const Matrix< double > & getd2Pij_dt2(double d) const
Partial implementation of the ReversibleSubstitutionModel interface.
std::string getName() const
Get the name of the model.
Specialisation interface for nucleotide substitution model.
double d2Pij_dt2(size_t i, size_t j, double d) const
The Jukes-Cantor substitution model for nucleotides.
double dPij_dt(size_t i, size_t j, double d) const
JCnuc(const NucleicAlphabet *alpha)
const Matrix< double > & getdPij_dt(double d) const
const Matrix< double > & getPij_t(double d) const
double Pij_t(size_t i, size_t j, double d) const