15 std::shared_ptr<const AlphabetIndex2> pdist,
16 std::shared_ptr<const GeneticCode> pgencode,
double getCodonsMulRate(size_t i, size_t j) const override
Returns the multiplicative rate specific to two codons specified by their number. The respective gene...
std::shared_ptr< const GeneticCode > pgencode_
AbstractCodonDistanceSubstitutionModel(std::shared_ptr< const AlphabetIndex2 > pdist, std::shared_ptr< const GeneticCode > pgencode, const std::string &prefix, bool paramSynRate=false)
Build a new AbstractCodonDistanceSubstitutionModel object.
std::shared_ptr< const AlphabetIndex2 > pdistance_
void fireParameterChanged(const ParameterList ¶meters) override
std::shared_ptr< const StateMapInterface > stateMap_
void addParameter_(Parameter *parameter)
bool hasParameter(const std::string &name) const override
double getParameterValue(const std::string &name) const override
This class implements a state map where all resolved states are modeled.
static const std::shared_ptr< IntervalConstraint > R_PLUS_STAR
Defines the basic types of data flow nodes.
ExtendedFloat exp(const ExtendedFloat &ef)