11 std::shared_ptr<const PhyloTree> tree,
12 std::shared_ptr<FrequencySetInterface> rootFrequencies,
13 const string& prefix) :
16 rootFrequencies_(rootFrequencies),
26 std::shared_ptr<ParametrizablePhyloTree> tree,
27 std::shared_ptr<FrequencySetInterface> rootFrequencies,
const string& prefix) :
30 rootFrequencies_(rootFrequencies),
41 pTree_(asp.pTree_ ? asp.pTree_->clone() : 0),
42 rootFrequencies_(asp.rootFrequencies_ ? asp.rootFrequencies_->clone() : 0),
43 modelScenario_(asp.modelScenario_)
62 pTree_->matchParametersValues(gAP);
A partial implementation of the SubstitutionProcess interface.
AbstractAutonomousSubstitutionProcess(std::shared_ptr< const PhyloTree > tree=0, std::shared_ptr< FrequencySetInterface > rootFrequencies=0, const std::string &prefix="")
Builds using an optional pointer towards a PhyloTree.
std::shared_ptr< ModelScenario > modelScenario_
std::shared_ptr< ParametrizablePhyloTree > pTree_
void fireParameterChanged(const ParameterList &pl)
AbsractParametrizable interface.
void setPhyloTree(const PhyloTree &phyloTree)
sets the ParametrizablePhyloTree.
std::shared_ptr< FrequencySetInterface > rootFrequencies_
Root frequencies.
AbstractAutonomousSubstitutionProcess & operator=(const AbstractAutonomousSubstitutionProcess &asp)
void addParameters_(const ParameterList ¶meters)
AbstractParameterAliasable & operator=(const AbstractParameterAliasable &ap)
ParameterList getAliasedParameters(const ParameterList &pl) const
ParameterList & getParameters_() override
virtual void addParameters(const ParameterList ¶ms)
virtual void deleteParameters(const std::vector< std::string > &names, bool mustExist=true)
PhyloTree with Parametrizable Phylo Branches. They SHARE their branch length parameters.
Defines the basic types of data flow nodes.