bpp-phyl3  3.0.0
bpp::CoreCodonSubstitutionModelInterface Class Referenceabstract

Interface for codon models. More...

#include <Bpp/Phyl/Model/Codon/CodonSubstitutionModel.h>

+ Inheritance diagram for bpp::CoreCodonSubstitutionModelInterface:
+ Collaboration diagram for bpp::CoreCodonSubstitutionModelInterface:

Public Member Functions

 CoreCodonSubstitutionModelInterface ()
 
virtual ~CoreCodonSubstitutionModelInterface ()
 
virtual CoreCodonSubstitutionModelInterfaceclone () const override=0
 
virtual double getCodonsMulRate (size_t, size_t) const =0
 Returns the multiplicative rate specific to two codons specified by their number. The respective generator rate is this rate multiplied by the rate defined by the model defined on nucleotides. More...
 
virtual const CodonFrequencySetInterfacecodonFrequencySet () const =0
 
virtual bool hasCodonFrequencySet () const =0
 
virtual void setFreq (std::map< int, double > &frequencies)=0
 
virtual size_t getNumberOfIndependentParameters () const=0
 
virtual void aliasParameters (const std::string &p1, const std::string &p2)=0
 
virtual void aliasParameters (std::map< std::string, std::string > &unparsedParams, bool verbose)=0
 
virtual void unaliasParameters (const std::string &p1, const std::string &p2)=0
 
virtual const ParameterListgetIndependentParameters () const=0
 
virtual std::vector< std::string > getAlias (const std::string &name) const=0
 
virtual std::map< std::string, std::string > getAliases () const=0
 
virtual bool hasParameter (const std::string &name) const=0
 
virtual const ParameterListgetParameters () const=0
 
virtual const Parameterparameter (const std::string &name) const=0
 
virtual double getParameterValue (const std::string &name) const=0
 
virtual void setAllParametersValues (const ParameterList &parameters)=0
 
virtual void setParameterValue (const std::string &name, double value)=0
 
virtual void setParametersValues (const ParameterList &parameters)=0
 
virtual bool matchParametersValues (const ParameterList &parameters)=0
 
virtual void removeConstraint (const std::string &name)=0
 
virtual void setConstraint (const std::string &name, std::shared_ptr< ConstraintInterface > constraint)=0
 
virtual size_t getNumberOfParameters () const=0
 
virtual void setNamespace (const std::string &prefix)=0
 
virtual std::string getNamespace () const=0
 
virtual std::string getParameterNameWithoutNamespace (const std::string &name) const=0
 

Protected Member Functions

virtual ParameterListgetParameters_ ()=0
 

Detailed Description

Interface for codon models.

Author
Laurent Guéguen

This class aims at defining methods needed for inheriting codon.

Definition at line 22 of file CodonSubstitutionModel.h.

Constructor & Destructor Documentation

◆ CoreCodonSubstitutionModelInterface()

bpp::CoreCodonSubstitutionModelInterface::CoreCodonSubstitutionModelInterface ( )
inline

Definition at line 26 of file CodonSubstitutionModel.h.

◆ ~CoreCodonSubstitutionModelInterface()

virtual bpp::CoreCodonSubstitutionModelInterface::~CoreCodonSubstitutionModelInterface ( )
inlinevirtual

Definition at line 27 of file CodonSubstitutionModel.h.

Member Function Documentation

◆ clone()

◆ codonFrequencySet()

◆ getCodonsMulRate()

◆ hasCodonFrequencySet()

◆ setFreq()


The documentation for this class was generated from the following file: