5 #ifndef BPP_PHYL_MODEL_CODON_TRIPLETSUBSTITUTIONMODEL_H
6 #define BPP_PHYL_MODEL_CODON_TRIPLETSUBSTITUTIONMODEL_H
9 #include "../Nucleotide/NucleotideSubstitutionModel.h"
10 #include "../WordSubstitutionModel.h"
39 std::shared_ptr<const CodonAlphabet> palph,
40 std::unique_ptr<NucleotideSubstitutionModelInterface> pmod);
51 std::shared_ptr<const CodonAlphabet> palph,
52 std::unique_ptr<NucleotideSubstitutionModelInterface> pmod1,
53 std::unique_ptr<NucleotideSubstitutionModelInterface> pmod2,
54 std::unique_ptr<NucleotideSubstitutionModelInterface> pmod3);
61 std::string
getName()
const override;
Class for neutral substitution models on triplets, which correspond to codons that do not have any si...
TripletSubstitutionModel * clone() const override
std::string getName() const override
Get the name of the model.
TripletSubstitutionModel(std::shared_ptr< const CodonAlphabet > palph, std::unique_ptr< NucleotideSubstitutionModelInterface > pmod)
Build a new TripletSubstitutionModel object from a pointer to a NucleotideSubstitutionModel.
virtual ~TripletSubstitutionModel()
Basal class for words of substitution models.
Defines the basic types of data flow nodes.