5 #ifndef BPP_PHYL_LIKELIHOOD_ABSTRACT_AUTONOMOUS_SUBSTITUTIONPROCESS_H
6 #define BPP_PHYL_LIKELIHOOD_ABSTRACT_AUTONOMOUS_SUBSTITUTIONPROCESS_H
28 std::shared_ptr<ParametrizablePhyloTree>
pTree_;
47 std::shared_ptr<const PhyloTree> tree = 0,
48 std::shared_ptr<FrequencySetInterface> rootFrequencies = 0,
49 const std::string& prefix =
"");
57 std::shared_ptr<ParametrizablePhyloTree> tree,
58 std::shared_ptr<FrequencySetInterface> rootFrequencies = 0,
59 const std::string& prefix =
"");
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.
const FrequencySetInterface & rootFrequencySet() const
std::shared_ptr< ModelScenario > modelScenario_
std::shared_ptr< ParametrizablePhyloTree > pTree_
std::shared_ptr< FrequencySetInterface > getRootFrequencySet()
bool hasRootFrequencySet() const
ParameterList getRootFrequenciesParameters(bool independent) const
Get the parameters corresponding to the root frequencies.
void fireParameterChanged(const ParameterList &pl)
AbsractParametrizable interface.
virtual void setModelScenario(std::shared_ptr< ModelScenario > modelScenario)=0
set the ModelScenario.
void setRootFrequencySet(std::shared_ptr< FrequencySetInterface > rootfrequency)
set the RootFrequency.
FrequencySetInterface & rootFrequencySet()
std::shared_ptr< const FrequencySetInterface > getRootFrequencySet() const
const ParametrizablePhyloTree & parametrizablePhyloTree() const
std::shared_ptr< const ParametrizablePhyloTree > getParametrizablePhyloTree() const
void setPhyloTree(const PhyloTree &phyloTree)
sets the ParametrizablePhyloTree.
std::shared_ptr< const ModelScenario > getModelScenario() const
get the ModelScenario.
std::shared_ptr< FrequencySetInterface > rootFrequencies_
Root frequencies.
AbstractAutonomousSubstitutionProcess & operator=(const AbstractAutonomousSubstitutionProcess &asp)
void addParameters_(const ParameterList ¶meters)
ParameterList & getParameters_() override
A partial implementation of the SubstitutionProcess interface.
Interface for SubstitutionProcess objects that own their own ParametrizablePhyloTree & Scenario.
Parametrize a set of state frequencies.
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.