bpp-phyl3  3.0.0
WrappedModel.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_MODEL_WRAPPEDMODEL_H
6 #define BPP_PHYL_MODEL_WRAPPEDMODEL_H
7 
9 
10 #include "SubstitutionModel.h"
11 
12 namespace bpp
13 {
18  public virtual BranchModelInterface
19 {
20 public:
23 
24  virtual const BranchModelInterface& model() const = 0;
25 
26 public:
27 };
28 
30  public virtual WrappedModelInterface,
31  public virtual TransitionModelInterface
32 {
33 public:
36 
37  virtual const TransitionModelInterface& transitionModel() const = 0;
38 };
39 
40 
42  public virtual WrappedModelInterface,
43  public virtual SubstitutionModelInterface
44 {
45 public:
47 
49 
50  virtual const SubstitutionModelInterface& substitutionModel() const = 0;
51 };
52 } // end of namespace bpp.
53 #endif // BPP_PHYL_MODEL_WRAPPEDMODEL_H
Interface for all Branch models.
Interface for all substitution models.
Interface for all transition models.
Wrapping model interface.
Definition: WrappedModel.h:19
virtual const BranchModelInterface & model() const =0
virtual const SubstitutionModelInterface & substitutionModel() const =0
virtual const TransitionModelInterface & transitionModel() const =0
Defines the basic types of data flow nodes.