bpp-phyl3
3.0.0
|
This interface describes the evolution process of a sequence. More...
#include <Bpp/Phyl/Likelihood/SequenceEvolution.h>
Public Member Functions | |
virtual SequenceEvolution * | clone () const override=0 |
virtual bool | isCompatibleWith (const AlignmentDataInterface &data) const =0 |
virtual const std::vector< size_t > & | getSubstitutionProcessNumbers () const =0 |
virtual const SubstitutionProcessInterface & | substitutionProcess (size_t number) const =0 |
virtual std::shared_ptr< const SubstitutionProcessInterface > | getSubstitutionProcess (size_t number) const =0 |
const StateMapInterface & | stateMap () const |
std::shared_ptr< const StateMapInterface > | getStateMap () const |
virtual ParameterList | getBranchLengthParameters (bool independent) const =0 |
Get the branch lengths parameters. More... | |
virtual ParameterList | getSubstitutionModelParameters (bool independent) const =0 |
Get the parameters associated to substitution model(s). More... | |
virtual ParameterList | getSubstitutionProcessParameters (bool independent) const =0 |
Get the parameters associated to substitution processes(s). More... | |
virtual ParameterList | getRateDistributionParameters (bool independent) const =0 |
Get the parameters associated to the rate distribution(s). More... | |
virtual ParameterList | getRootFrequenciesParameters (bool independent) const =0 |
Get the parameters associated to the root frequencies(s). More... | |
virtual ParameterList | getNonDerivableParameters () const =0 |
All non derivable parameters. More... | |
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 ParameterList & | getIndependentParameters () 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 ParameterList & | getParameters () const=0 |
virtual const Parameter & | parameter (const std::string &name) const=0 |
virtual double | getParameterValue (const std::string &name) const=0 |
virtual void | setAllParametersValues (const ParameterList ¶meters)=0 |
virtual void | setParameterValue (const std::string &name, double value)=0 |
virtual void | setParametersValues (const ParameterList ¶meters)=0 |
virtual bool | matchParametersValues (const ParameterList ¶meters)=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 ParameterList & | getParameters_ ()=0 |
This interface describes the evolution process of a sequence.
It main purpose is to provide the necessary calculus for each management of site specific substitution process, such as partition models and HMM.
This object has the INDEPENDENT parameters of the processes.
Definition at line 33 of file SequenceEvolution.h.
|
overridepure virtual |
|
pure virtual |
Get the branch lengths parameters.
Implemented in bpp::OneProcessSequenceEvolution, and bpp::MultiProcessSequenceEvolution.
|
pure virtual |
All non derivable parameters.
Usually, this contains all substitution model parameters and rate distribution, and alias.
Implemented in bpp::OneProcessSequenceEvolution, bpp::MixtureSequenceEvolution, bpp::MultiProcessSequenceEvolution, and bpp::AutoCorrelationSequenceEvolution.
|
pure virtual |
Get the parameters associated to the rate distribution(s).
Implemented in bpp::OneProcessSequenceEvolution, and bpp::MultiProcessSequenceEvolution.
|
pure virtual |
Get the parameters associated to the root frequencies(s).
Implemented in bpp::OneProcessSequenceEvolution, and bpp::MultiProcessSequenceEvolution.
|
inline |
Definition at line 53 of file SequenceEvolution.h.
References bpp::SubstitutionProcessInterface::getStateMap(), getSubstitutionProcessNumbers(), and substitutionProcess().
|
pure virtual |
Get the parameters associated to substitution model(s).
Implemented in bpp::OneProcessSequenceEvolution, and bpp::MultiProcessSequenceEvolution.
|
pure virtual |
Implemented in bpp::OneProcessSequenceEvolution, and bpp::MultiProcessSequenceEvolution.
Referenced by bpp::SubstitutionProcessSequenceSimulator::SubstitutionProcessSequenceSimulator().
|
pure virtual |
|
pure virtual |
Get the parameters associated to substitution processes(s).
Implemented in bpp::OneProcessSequenceEvolution, and bpp::MultiProcessSequenceEvolution.
|
pure virtual |
Implemented in bpp::OneProcessSequenceEvolution, and bpp::MultiProcessSequenceEvolution.
|
inline |
Definition at line 48 of file SequenceEvolution.h.
References getSubstitutionProcessNumbers(), bpp::SubstitutionProcessInterface::stateMap(), and substitutionProcess().
|
pure virtual |
Implemented in bpp::OneProcessSequenceEvolution, and bpp::MultiProcessSequenceEvolution.
Referenced by getStateMap(), stateMap(), and bpp::SubstitutionProcessSequenceSimulator::SubstitutionProcessSequenceSimulator().