bpp-phyl3 3.0.0
YNGP_M2.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_CODON_YNGP_M2_H
6#define BPP_PHYL_MODEL_CODON_YNGP_M2_H
7
9
10#include "YNGP_M.h"
11
12namespace bpp
13{
37class YNGP_M2 :
38 public YNGP_M
39{
40public:
41 YNGP_M2(
42 std::shared_ptr<const GeneticCode> gc,
43 std::unique_ptr<CodonFrequencySetInterface> codonFreqs);
44
45 YNGP_M2* clone() const override { return new YNGP_M2(*this); }
46
47public:
48 std::string getName() const override { return "YNGP_M2"; }
49
50protected:
51 void updateMatrices_() override;
52};
53} // end of namespace bpp.
54#endif // BPP_PHYL_MODEL_CODON_YNGP_M2_H
The Yang et al (2000) M2 substitution model for codons, with the more realistic modification in Wong ...
Definition: YNGP_M2.h:39
YNGP_M2 * clone() const override
Definition: YNGP_M2.h:45
std::string getName() const override
Get the name of the model.
Definition: YNGP_M2.h:48
void updateMatrices_() override
Definition: YNGP_M2.cpp:108
YNGP_M2(std::shared_ptr< const GeneticCode > gc, std::unique_ptr< CodonFrequencySetInterface > codonFreqs)
Definition: YNGP_M2.cpp:17
Abstract generic class for The Yang et al (2000) M substitution models for codons....
Definition: YNGP_M.h:32
Defines the basic types of data flow nodes.