bpp-phyl3  3.0.0
AutonomousSubstitutionProcess.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: The Bio++ Development Group
2 //
3 // SPDX-License-Identifier: CECILL-2.1
4 
5 #ifndef BPP_PHYL_LIKELIHOOD_AUTONOMOUS_SUBSTITUTIONPROCESS_H
6 #define BPP_PHYL_LIKELIHOOD_AUTONOMOUS_SUBSTITUTIONPROCESS_H
7 
8 
9 #include "SubstitutionProcess.h"
10 
11 // From the STL:
12 #include <memory>
13 
14 namespace bpp
15 {
22  public virtual SubstitutionProcessInterface
23 {
24 public:
32  virtual void setPhyloTree(const PhyloTree& phyloTree) = 0;
33 
39  virtual void setRootFrequencySet(std::shared_ptr<FrequencySetInterface> rootfrequency) = 0;
40 
46  virtual void setModelScenario(std::shared_ptr<ModelScenario> modelScenario) = 0;
47 };
48 } // end namespace bpp
49 
50 #endif // BPP_PHYL_LIKELIHOOD_AUTONOMOUS_SUBSTITUTIONPROCESS_H
Interface for SubstitutionProcess objects that own their own ParametrizablePhyloTree & Scenario.
virtual void setModelScenario(std::shared_ptr< ModelScenario > modelScenario)=0
set the ModelScenario.
virtual void setRootFrequencySet(std::shared_ptr< FrequencySetInterface > rootfrequency)=0
set the RootFrequency.
virtual void setPhyloTree(const PhyloTree &phyloTree)=0
set the ParametrizablePhyloTree.
This interface describes the substitution process along the tree and sites of the alignment.
Defines the basic types of data flow nodes.