40 #ifndef _ABSTRACTCODONDISTANCESUBSTITUTIONMODEL_H_ 41 #define _ABSTRACTCODONDISTANCESUBSTITUTIONMODEL_H_ 44 #include <Bpp/Numeric/AbstractParameterAliasable.h> 48 #include <Bpp/Seq/GeneticCode/GeneticCode.h> 49 #include <Bpp/Seq/AlphabetIndex/AlphabetIndex2.h> 83 public virtual AbstractParameterAliasable
102 const AlphabetIndex2* pdist,
103 const std::string& prefix,
104 bool paramSynRate =
false);
107 AbstractParameterAliasable(model),
117 AbstractParameterAliasable::operator=(model);
double getCodonsMulRate(size_t i, size_t j) const
Returns the multiplicative rate specific to two codons specified by their number. The respective gene...
AbstractCodonDistanceSubstitutionModel(const AlphabetIndex2 *pdist, const std::string &prefix, bool paramSynRate=false)
Build a new AbstractCodonDistanceSubstitutionModel object from a pointer to NucleotideSubstitutionMod...
const AlphabetIndex2 * pdistance_
Abstract class for modelling of non-synonymous abd synonymous substitution rates in codon models...
virtual ~AbstractCodonDistanceSubstitutionModel()
AbstractCodonDistanceSubstitutionModel(const AbstractCodonDistanceSubstitutionModel &model)
void fireParameterChanged(const ParameterList ¶meters)
Abstract class for codon models.
AbstractCodonDistanceSubstitutionModel & operator=(const AbstractCodonDistanceSubstitutionModel &model)