5 #ifndef BPP_PHYL_MODEL_ABSTRACTFROMSUBSTITUTIONMODELTRANSITIONMODEL_H
6 #define BPP_PHYL_MODEL_ABSTRACTFROMSUBSTITUTIONMODELTRANSITIONMODEL_H
26 std::unique_ptr<SubstitutionModelInterface>
subModel_;
44 std::unique_ptr<SubstitutionModelInterface> subModel,
45 const std::string& prefix);
Virtual class of a Transition Model related to a given SubstitutionModel.
const TransitionModelInterface & transitionModel() const override
const BranchModelInterface & model() const override
RowMatrix< double > d2pij_t
RowMatrix< double > pij_t
These ones are for bookkeeping:
SubstitutionModelInterface & substitutionModel_()
const SubstitutionModelInterface & substitutionModel() const
virtual void addRateParameter() override
TransitionModelInterface & transitionModel_() override
void computeFrequencies(bool yn) override
virtual void fireParameterChanged(const ParameterList ¶meters) override
BranchModelInterface & model_()
virtual void setNamespace(const std::string &prefix) override
std::unique_ptr< SubstitutionModelInterface > subModel_
The related model.
bool computeFrequencies() const override
RowMatrix< double > dpij_t
std::string nestedPrefix_
virtual ~AbstractFromSubstitutionModelTransitionModel()
Vdouble & getFrequencies_() override
AbstractFromSubstitutionModelTransitionModel & operator=(const AbstractFromSubstitutionModelTransitionModel &fmsm)
friend class AbstractFromSubstitutionModelTransitionModel
void addParameter_(Parameter *parameter)
void setNamespace(const std::string &prefix)
virtual void fireParameterChanged(const ParameterList ¶meters)
std::string getNamespace() const override
Interface for all Branch models.
virtual double getRate() const =0
Get the rate.
virtual void addRateParameter()=0
static const std::shared_ptr< IntervalConstraint > R_PLUS_STAR
virtual bool matchParametersValues(const ParameterList ¶meters)=0
virtual void setNamespace(const std::string &prefix)=0
Interface for all substitution models.
Interface for all transition models.
Defines the basic types of data flow nodes.
std::vector< double > Vdouble