bpp-phyl3 3.0.0
LG10_EX_EHO.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_PROTEIN_LG10_EX_EHO_H
6#define BPP_PHYL_MODEL_PROTEIN_LG10_EX_EHO_H
7
8
9#include "../AbstractBiblioMixedTransitionModel.h"
10#include "../AbstractSubstitutionModel.h"
12
13using namespace std;
14
15namespace bpp
16{
41{
42public:
45 {
46private:
48 string name_;
49
50public:
51 EmbeddedModel(std::shared_ptr<const ProteicAlphabet> alpha, string name);
52 EmbeddedModel* clone() const { return new EmbeddedModel(*this); }
53 string getName() const { return name_;}
54 double getProportion() const { return proportion_;}
55 };
56
57public:
65 LG10_EX_EHO(std::shared_ptr<const ProteicAlphabet> alpha);
66
67 LG10_EX_EHO* clone() const { return new LG10_EX_EHO(*this); }
68
69 std::string getName() const { return "LG10_EX_EHO"; }
70};
71} // end of namespace bpp.
72#endif // BPP_PHYL_MODEL_PROTEIN_LG10_EX_EHO_H
Abstract class for mixture models based on the bibliography.
Specialisation abstract class for reversible protein substitution model.
EmbeddedModel(std::shared_ptr< const ProteicAlphabet > alpha, string name)
Definition: LG10_EX_EHO.cpp:62
EmbeddedModel * clone() const
Definition: LG10_EX_EHO.h:52
string getName() const
Get the name of the model.
Definition: LG10_EX_EHO.h:53
The Le and Gascuel (2010) EX_EHO substitution model for proteins.
Definition: LG10_EX_EHO.h:41
LG10_EX_EHO * clone() const
Definition: LG10_EX_EHO.h:67
LG10_EX_EHO(std::shared_ptr< const ProteicAlphabet > alpha)
Build a EX_EHO model, with original equilibrium frequencies, probabilities and rates.
Definition: LG10_EX_EHO.cpp:16
std::string getName() const
Get the name of the model.
Definition: LG10_EX_EHO.h:69
Defines the basic types of data flow nodes.