bpp-phyl3 3.0.0
YNGP_M1.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_M1_H
6#define BPP_PHYL_MODEL_CODON_YNGP_M1_H
7
8
9#include "YNGP_M.h"
10
11namespace bpp
12{
40class YNGP_M1 :
41 public YNGP_M
42{
43public:
44 YNGP_M1(
45 std::shared_ptr<const GeneticCode> gc,
46 std::unique_ptr<CodonFrequencySetInterface> codonFreqs);
47
48 YNGP_M1* clone() const override { return new YNGP_M1(*this); }
49
50public:
51 std::string getName() const override { return "YNGP_M1"; }
52
53protected:
54 void updateMatrices_() override;
55};
56} // end of namespace bpp.
57#endif // BPP_PHYL_MODEL_CODON_YNGP_M1_H
The Yang et al (2000) M1 substitution model for codons, with the more realistic modification in Wong ...
Definition: YNGP_M1.h:42
YNGP_M1(std::shared_ptr< const GeneticCode > gc, std::unique_ptr< CodonFrequencySetInterface > codonFreqs)
Definition: YNGP_M1.cpp:17
std::string getName() const override
Get the name of the model.
Definition: YNGP_M1.h:51
YNGP_M1 * clone() const override
Definition: YNGP_M1.h:48
void updateMatrices_() override
Definition: YNGP_M1.cpp:97
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.