bpp-phyl3
3.0.0
|
The PhyloLikelihoodSet interface, to manage a subset of PhyloLikelihoods from a given PhyloLikelihoodContainer. More...
#include <Bpp/Phyl/Likelihood/PhyloLikelihoods/PhyloLikelihoodSet.h>
Public Member Functions | |
virtual PhyloLikelihoodSetInterface * | clone () const =0 |
virtual std::shared_ptr< PhyloLikelihoodContainer > | getPhyloContainer ()=0 |
virtual std::shared_ptr< const PhyloLikelihoodContainer > | getPhyloContainer () const =0 |
virtual const std::vector< size_t > & | getNumbersOfPhyloLikelihoods () const =0 |
virtual bool | addPhyloLikelihood (size_t nPhyl, const std::string &suff="")=0 |
adds a PhyloLikelihood already stored in the PhyloLikelihoodContainer, iff it is an AbstractPhyloLikelihood. More... | |
virtual LikelihoodCalculation & | likelihoodCalculation () const =0 |
virtual std::shared_ptr< LikelihoodCalculation > | getLikelihoodCalculation () const =0 |
virtual void | enableSecondOrderDerivatives (bool yn)=0 |
virtual bool | enableSecondOrderDerivatives () const=0 |
virtual double | getSecondOrderDerivative (const std::string &variable) const=0 |
virtual double | getSecondOrderDerivative (const std::string &variable1, const std::string &variable2) const=0 |
virtual double | d2f (const std::string &variable, const ParameterList ¶meters) |
virtual double | d2f (const std::string &variable1, const std::string &variable2, const ParameterList ¶meters) |
virtual void | enableFirstOrderDerivatives (bool yn)=0 |
virtual bool | enableFirstOrderDerivatives () const=0 |
virtual double | getFirstOrderDerivative (const std::string &variable) const=0 |
virtual double | df (const std::string &variable, const ParameterList ¶meters) |
virtual void | setParameters (const ParameterList ¶meters)=0 |
virtual double | getValue () const=0 |
virtual double | f (const ParameterList ¶meters) |
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 |
The PhyloLikelihood storage. | |
virtual bool | hasPhyloLikelihood (size_t nPhyl)=0 |
virtual std::shared_ptr< const PhyloLikelihoodInterface > | getPhyloLikelihood (size_t nPhyl) const =0 |
virtual std::shared_ptr< PhyloLikelihoodInterface > | getPhyloLikelihood (size_t nPhyl)=0 |
The data functions | |
virtual bool | isInitialized () const =0 |
virtual const Context & | context () const =0 |
virtual Context & | context ()=0 |
The likelihood functions. | |
virtual ValueRef< DataLik > | getLikelihoodNode () const =0 |
double | getLogLikelihood () const |
Get the logarithm of the likelihood for the whole dataset. More... | |
Retrieve some particular independent parameters subsets. | |
Get the derivates of the LogLikelihood. | |
virtual ParameterList | getNonDerivableParameters () const =0 |
virtual ParameterList | getDerivableParameters () const =0 |
virtual ParameterList | getBranchLengthParameters () const =0 |
Get the independent branch lengths parameters. More... | |
virtual ParameterList | getSubstitutionModelParameters () const =0 |
Get the independent parameters associated to substitution model(s). More... | |
virtual ParameterList | getRateDistributionParameters () const =0 |
Get the independent parameters associated to the rate distribution(s). More... | |
virtual ParameterList | getRootFrequenciesParameters () const =0 |
Get the independent parameters associated to the root frequencies(s). More... | |
Protected Member Functions | |
virtual ParameterList & | getParameters_ ()=0 |
The PhyloLikelihoodSet interface, to manage a subset of PhyloLikelihoods from a given PhyloLikelihoodContainer.
Definition at line 20 of file PhyloLikelihoodSet.h.
|
pure virtual |
adds a PhyloLikelihood already stored in the PhyloLikelihoodContainer, iff it is an AbstractPhyloLikelihood.
nPhyl | number of the phylolikelihood |
suff | for parameters names if use specific parameters names |
Implemented in bpp::AbstractPhyloLikelihoodSet, and bpp::AbstractAlignedPhyloLikelihoodSet.
|
pure virtual |
Implements bpp::PhyloLikelihoodInterface.
Implemented in bpp::AlignedPhyloLikelihoodSetInterface, bpp::PartitionProcessPhyloLikelihood, bpp::AlignedPhyloLikelihoodMixture, bpp::AlignedPhyloLikelihoodHmm, bpp::PhyloLikelihoodFormula, bpp::AlignedPhyloLikelihoodProduct, and bpp::AlignedPhyloLikelihoodAutoCorrelation.
|
pure virtualinherited |
Implemented in bpp::AbstractPhyloLikelihood.
|
pure virtualinherited |
Implemented in bpp::AbstractPhyloLikelihood.
|
pure virtualinherited |
Get the independent branch lengths parameters.
Implemented in bpp::SingleProcessPhyloLikelihood, bpp::AbstractParametrizableSequencePhyloLikelihood, bpp::AbstractPhyloLikelihoodSet, and bpp::OnABranchPhyloLikelihood.
Referenced by bpp::BppPhylogeneticsApplication::displayParameters().
|
pure virtualinherited |
|
pure virtualinherited |
Implemented in bpp::AutoCorrelationProcessPhyloLikelihood, bpp::SingleProcessPhyloLikelihood, bpp::PartitionProcessPhyloLikelihood, bpp::OneProcessSequencePhyloLikelihood, bpp::OnABranchPhyloLikelihood, bpp::MixtureProcessPhyloLikelihood, bpp::HmmProcessPhyloLikelihood, bpp::AutoCorrelationProcessPhyloLikelihood, bpp::AlignedPhyloLikelihoodMixture, bpp::AlignedPhyloLikelihoodHmm, bpp::PhyloLikelihoodFormula, bpp::AlignedPhyloLikelihoodProduct, and bpp::AlignedPhyloLikelihoodAutoCorrelation.
Referenced by bpp::AbstractPhyloLikelihood::getLikelihoodNode().
|
pure virtualinherited |
Implemented in bpp::AbstractPhyloLikelihood.
|
inlineinherited |
Get the logarithm of the likelihood for the whole dataset.
Definition at line 66 of file PhyloLikelihood.h.
References bpp::SecondOrderDerivable::getValue().
|
pure virtualinherited |
|
pure virtual |
Implemented in bpp::AbstractPhyloLikelihoodSet.
Referenced by bpp::HmmPhyloAlphabet::HmmPhyloAlphabet(), and bpp::PhylogeneticsApplicationTools::printAnalysisInformation().
|
pure virtual |
Implemented in bpp::AbstractPhyloLikelihoodSet.
|
pure virtual |
Implemented in bpp::AbstractPhyloLikelihoodSet.
|
pure virtual |
Implemented in bpp::AbstractPhyloLikelihoodSet.
|
pure virtual |
Implemented in bpp::AbstractPhyloLikelihoodSet.
|
pure virtualinherited |
Get the independent parameters associated to the rate distribution(s).
Implemented in bpp::SingleProcessPhyloLikelihood, bpp::AbstractParametrizableSequencePhyloLikelihood, bpp::AbstractPhyloLikelihoodSet, and bpp::OnABranchPhyloLikelihood.
|
pure virtualinherited |
Get the independent parameters associated to the root frequencies(s).
Implemented in bpp::SingleProcessPhyloLikelihood, bpp::AbstractParametrizableSequencePhyloLikelihood, bpp::AbstractPhyloLikelihoodSet, and bpp::OnABranchPhyloLikelihood.
|
pure virtualinherited |
Get the independent parameters associated to substitution model(s).
Implemented in bpp::SingleProcessPhyloLikelihood, bpp::AbstractParametrizableSequencePhyloLikelihood, bpp::AbstractPhyloLikelihoodSet, and bpp::OnABranchPhyloLikelihood.
|
pure virtual |
Implemented in bpp::AbstractPhyloLikelihoodSet.
|
pure virtualinherited |
Implemented in bpp::SingleProcessPhyloLikelihood, bpp::AbstractPhyloLikelihoodSet, bpp::OneProcessSequencePhyloLikelihood, bpp::OnABranchPhyloLikelihood, bpp::MultiProcessSequencePhyloLikelihood, and bpp::AbstractPhyloLikelihood.
|
pure virtualinherited |
Implemented in bpp::AutoCorrelationProcessPhyloLikelihood, bpp::SingleProcessPhyloLikelihood, bpp::PartitionProcessPhyloLikelihood, bpp::OneProcessSequencePhyloLikelihood, bpp::OnABranchPhyloLikelihood, bpp::MixtureProcessPhyloLikelihood, bpp::HmmProcessPhyloLikelihood, bpp::AutoCorrelationProcessPhyloLikelihood, bpp::AlignedPhyloLikelihoodMixture, bpp::AlignedPhyloLikelihoodHmm, bpp::PhyloLikelihoodFormula, bpp::AlignedPhyloLikelihoodProduct, and bpp::AlignedPhyloLikelihoodAutoCorrelation.