bpp-phyl3
3.0.0
|
The PhyloLikelihoodFormula class, for phylogenetic likelihood on several independent data. More...
#include <Bpp/Phyl/Likelihood/PhyloLikelihoods/PhyloLikelihoodFormula.h>
Public Member Functions | |
PhyloLikelihoodFormula (Context &context, std::shared_ptr< PhyloLikelihoodContainer > pC, const std::string &formula, bool inCollection=true) | |
virtual | ~PhyloLikelihoodFormula () |
void | readFormula (const std::string &formula, bool inCollection=true) |
std::string | output () const |
std::shared_ptr< PhyloLikelihoodContainer > | getPhyloContainer () override |
std::shared_ptr< const PhyloLikelihoodContainer > | getPhyloContainer () const override |
const std::vector< size_t > & | getNumbersOfPhyloLikelihoods () const override |
virtual bool | addPhyloLikelihood (size_t nPhyl, const std::string &suff="") override |
adds a PhyloLikelihood already stored in the PhyloLikelihoodContainer, iff it is an AbstractPhyloLikelihood. More... | |
const Context & | context () const override |
Context & | context () override |
ValueRef< DataLik > | getLikelihoodNode () const override |
virtual void | enableSecondOrderDerivatives (bool yn)=0 |
virtual bool | enableSecondOrderDerivatives () const=0 |
virtual void | enableSecondOrderDerivatives (bool yn) override |
bool | enableSecondOrderDerivatives () const override |
virtual double | getSecondOrderDerivative (const std::string &variable) const=0 |
virtual double | getSecondOrderDerivative (const std::string &variable1, const std::string &variable2) const=0 |
double | getSecondOrderDerivative (const std::string &variable) const override |
double | getSecondOrderDerivative (const std::string &variable1, const std::string &variable2) const override |
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 void | enableFirstOrderDerivatives (bool yn) override |
Tell if derivatives must be computed: for Function inheritance. More... | |
bool | enableFirstOrderDerivatives () const override |
virtual double | getFirstOrderDerivative (const std::string &variable) const=0 |
double | getFirstOrderDerivative (const std::string &variable) const override |
virtual double | df (const std::string &variable, const ParameterList ¶meters) |
virtual void | setParameters (const ParameterList ¶meters)=0 |
void | setParameters (const ParameterList ¶meters) override |
virtual double | getValue () const=0 |
double | getValue () const override |
virtual double | f (const ParameterList ¶meters) |
virtual bool | hasParameter (const std::string &name) const=0 |
bool | hasParameter (const std::string &name) const override |
virtual const ParameterList & | getParameters () const=0 |
const ParameterList & | getParameters () const override |
virtual const Parameter & | parameter (const std::string &name) const=0 |
const Parameter & | parameter (const std::string &name) const override |
virtual double | getParameterValue (const std::string &name) const=0 |
double | getParameterValue (const std::string &name) const override |
virtual void | setAllParametersValues (const ParameterList ¶meters)=0 |
void | setAllParametersValues (const ParameterList ¶meters) override |
virtual void | setParameterValue (const std::string &name, double value)=0 |
void | setParameterValue (const std::string &name, double value) override |
virtual void | setParametersValues (const ParameterList ¶meters)=0 |
void | setParametersValues (const ParameterList ¶meters) override |
virtual bool | matchParametersValues (const ParameterList ¶meters)=0 |
bool | matchParametersValues (const ParameterList ¶meters) override |
virtual void | removeConstraint (const std::string &name)=0 |
void | removeConstraint (const std::string &name) override |
virtual void | setConstraint (const std::string &name, std::shared_ptr< ConstraintInterface > constraint)=0 |
void | setConstraint (const std::string &name, std::shared_ptr< ConstraintInterface > constraint) override |
virtual size_t | getNumberOfParameters () const=0 |
size_t | getNumberOfParameters () const override |
virtual void | setNamespace (const std::string &prefix)=0 |
void | setNamespace (const std::string &prefix) override |
virtual std::string | getNamespace () const=0 |
std::string | getNamespace () const override |
virtual std::string | getParameterNameWithoutNamespace (const std::string &name) const=0 |
std::string | getParameterNameWithoutNamespace (const std::string &name) const override |
void | shareParameters (const ParameterList &variableNodes) |
Share Parameters, that are DF_parameters. More... | |
ValueRef< DataLik > | firstOrderDerivativeNode (const std::string &variable) const |
ValueRef< DataLik > | secondOrderDerivativeNode (const std::string &variable1, const std::string &variable2) const |
const std::shared_ptr< Parameter > & | getParameter (const std::string &name) const |
The PhyloLikelihood storage. | |
bool | hasPhyloLikelihood (size_t nPhyl) override |
std::shared_ptr< const PhyloLikelihoodInterface > | getPhyloLikelihood (size_t nPhyl) const override |
std::shared_ptr< PhyloLikelihoodInterface > | getPhyloLikelihood (size_t nPhyl) override |
Inherited from PhyloLikelihood | |
bool | isInitialized () const override |
virtual void | fireParameterChanged (const ParameterList ¶ms) override |
Retrieve some particular parameters subsets. | |
ParameterList | getNonDerivableParameters () const override |
ParameterList | getDerivableParameters () const override |
ParameterList | getBranchLengthParameters () const override |
Get the branch lengths parameters. More... | |
ParameterList | getSubstitutionModelParameters () const override |
Get the parameters associated to substitution model(s). More... | |
ParameterList | getRateDistributionParameters () const override |
Get the parameters associated to the rate distribution(s). More... | |
ParameterList | getRootFrequenciesParameters () const override |
Get the parameters associated to the root frequencies(s). More... | |
The data functions | |
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... | |
Protected Member Functions | |
PhyloLikelihoodFormula (const PhyloLikelihoodFormula &sd) | |
PhyloLikelihoodFormula & | operator= (const PhyloLikelihoodFormula &sd) |
PhyloLikelihoodFormula * | clone () const |
virtual ParameterList & | getParameters_ ()=0 |
ParameterList & | getParameters_ () override |
Node_DF & | accessVariableNode (const std::string &name) const |
const std::shared_ptr< Parameter > & | getParameter (size_t i) const |
std::shared_ptr< Parameter > & | getParameter (size_t i) |
virtual void | addParameter_ (Parameter *parameter) |
virtual void | addParameters_ (const ParameterList ¶meters) |
virtual void | shareParameter_ (const std::shared_ptr< Parameter > ¶meter) |
virtual void | shareParameters_ (const ParameterList ¶meters) |
virtual void | includeParameters_ (const ParameterList ¶meters) |
virtual void | deleteParameter_ (size_t index) |
virtual void | deleteParameter_ (std::string &name) |
virtual void | deleteParameters_ (const std::vector< std::string > &names) |
void | resetParameters_ () |
Parameter & | getParameter_ (const std::string &name) |
Parameter & | getParameter_ (size_t index) |
const Parameter & | getParameter_ (size_t index) const |
Parameter & | getParameterWithNamespace_ (const std::string &name) |
const Parameter & | getParameterWithNamespace_ (const std::string &name) const |
Static Protected Member Functions | |
static Node_DF & | accessVariableNode (const Parameter ¶m) |
Protected Attributes | |
std::shared_ptr< PhyloLikelihoodContainer > | pPhyloCont_ |
pointer to a PhyloLikelihoodContainer More... | |
std::vector< size_t > | nPhylo_ |
vector of AbstractPhyloLikelihood numbers More... | |
std::vector< std::shared_ptr< LikelihoodCalculation > > | vLikCal_ |
Context & | context_ |
DataLik | minusLogLik_ |
the value More... | |
std::unordered_map< std::string, ValueRef< DataLik > > | firstOrderDerivativeNodes_ |
For Dataflow computing. More... | |
std::unordered_map< std::pair< std::string, std::string >, ValueRef< DataLik >, StringPairHash > | secondOrderDerivativeNodes_ |
Private Attributes | |
std::unique_ptr< ComputationTree > | compTree_ |
std::shared_ptr< LikelihoodCalculation > | likCal_ |
ParameterList | parameters_ |
std::string | prefix_ |
The likelihood functions. | |
LikelihoodCalculation & | likelihoodCalculation () const |
std::shared_ptr< LikelihoodCalculation > | getLikelihoodCalculation () const |
ValueRef< DataLik > | makeLikelihoods () |
Build the LikelihoodNode from the computation Tree. More... | |
ValueRef< DataLik > | makeLikelihoodsFromOperator (std::shared_ptr< Operator > op) |
Build the LikelihoodNode from a node of the computation Tree. More... | |
The PhyloLikelihoodFormula class, for phylogenetic likelihood on several independent data.
WARNING: This formula applies on the log-likelihoods (ie getValues())
Definition at line 21 of file PhyloLikelihoodFormula.h.
PhyloLikelihoodFormula::PhyloLikelihoodFormula | ( | Context & | context, |
std::shared_ptr< PhyloLikelihoodContainer > | pC, | ||
const std::string & | formula, | ||
bool | inCollection = true |
||
) |
Definition at line 16 of file PhyloLikelihoodFormula.cpp.
Referenced by clone().
|
inlinevirtual |
Definition at line 32 of file PhyloLikelihoodFormula.h.
|
inlineprotected |
Definition at line 35 of file PhyloLikelihoodFormula.h.
|
inlinestaticprotectedinherited |
Definition at line 188 of file AbstractPhyloLikelihood.h.
Referenced by bpp::AbstractPhyloLikelihood::accessVariableNode(), bpp::AbstractPhyloLikelihood::firstOrderDerivativeNode(), bpp::OnABranchPhyloLikelihood::firstOrderDerivativeVector(), bpp::OneProcessSequencePhyloLikelihood::firstOrderDerivativeVector(), bpp::SingleProcessPhyloLikelihood::firstOrderDerivativeVector(), bpp::AbstractPhyloLikelihood::secondOrderDerivativeNode(), bpp::OnABranchPhyloLikelihood::secondOrderDerivativeVector(), bpp::OneProcessSequencePhyloLikelihood::secondOrderDerivativeVector(), and bpp::SingleProcessPhyloLikelihood::secondOrderDerivativeVector().
|
inlineprotectedinherited |
Definition at line 193 of file AbstractPhyloLikelihood.h.
References bpp::AbstractPhyloLikelihood::accessVariableNode(), and bpp::SecondOrderDerivable::parameter().
|
overridevirtualinherited |
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 |
Implements bpp::PhyloLikelihoodSetInterface.
Reimplemented in bpp::AbstractAlignedPhyloLikelihoodSet.
Definition at line 45 of file PhyloLikelihoodSet.cpp.
References bpp::AbstractPhyloLikelihood::context_, bpp::ConfiguredParameter::create(), bpp::AbstractPhyloLikelihoodSet::getPhyloLikelihood(), bpp::AbstractParametrizable::hasParameter(), bpp::AbstractPhyloLikelihoodSet::nPhylo_, bpp::Parameter::setName(), bpp::AbstractParametrizable::shareParameter_(), bpp::AbstractParametrizable::shareParameters_(), bpp::TextTools::toString(), and bpp::AbstractPhyloLikelihoodSet::vLikCal_.
Referenced by bpp::AbstractPhyloLikelihoodSet::AbstractPhyloLikelihoodSet(), bpp::AbstractAlignedPhyloLikelihoodSet::addPhyloLikelihood(), bpp::PartitionProcessPhyloLikelihood::PartitionProcessPhyloLikelihood(), and readFormula().
|
inlineprotectedvirtual |
Implements bpp::AbstractParametrizable.
Definition at line 52 of file PhyloLikelihoodFormula.h.
References PhyloLikelihoodFormula().
|
pure virtualinherited |
Implemented in bpp::AbstractPhyloLikelihood.
|
inlineoverridevirtualinherited |
Implements bpp::PhyloLikelihoodInterface.
Definition at line 73 of file AbstractPhyloLikelihood.h.
References bpp::AbstractPhyloLikelihood::context_.
Referenced by bpp::AlignedPhyloLikelihoodMixture::AlignedPhyloLikelihoodMixture(), bpp::AutoCorrelationProcessPhyloLikelihood::AutoCorrelationProcessPhyloLikelihood(), bpp::HmmProcessPhyloLikelihood::HmmProcessPhyloLikelihood(), bpp::PartitionProcessPhyloLikelihood::makeLikCal_(), bpp::MixtureProcessPhyloLikelihood::MixtureProcessPhyloLikelihood(), bpp::OneProcessSequencePhyloLikelihood::OneProcessSequencePhyloLikelihood(), and bpp::PartitionProcessPhyloLikelihood::PartitionProcessPhyloLikelihood().
|
inlineoverridevirtualinherited |
Implements bpp::PhyloLikelihoodInterface.
Definition at line 75 of file AbstractPhyloLikelihood.h.
References bpp::AbstractPhyloLikelihood::context_.
|
pure virtualinherited |
Implemented in bpp::AbstractPhyloLikelihood.
|
inlineoverridevirtualinherited |
Implements bpp::SecondOrderDerivable.
Definition at line 115 of file AbstractPhyloLikelihood.h.
|
inlineoverridevirtualinherited |
Tell if derivatives must be computed: for Function inheritance.
Implements bpp::SecondOrderDerivable.
Definition at line 113 of file AbstractPhyloLikelihood.h.
|
inlineoverridevirtualinherited |
Implements bpp::SecondOrderDerivable.
Definition at line 116 of file AbstractPhyloLikelihood.h.
|
inlineoverridevirtualinherited |
Implements bpp::SecondOrderDerivable.
Definition at line 114 of file AbstractPhyloLikelihood.h.
|
inlineoverridevirtualinherited |
Reimplemented from bpp::AbstractParametrizable.
Reimplemented in bpp::AlignedPhyloLikelihoodMixture, bpp::AlignedPhyloLikelihoodHmm, and bpp::AlignedPhyloLikelihoodAutoCorrelation.
Definition at line 208 of file PhyloLikelihoodSet.h.
References bpp::AbstractPhyloLikelihoodSet::getPhyloLikelihood(), and bpp::AbstractPhyloLikelihoodSet::nPhylo_.
Referenced by bpp::AlignedPhyloLikelihoodAutoCorrelation::fireParameterChanged(), and bpp::AlignedPhyloLikelihoodHmm::fireParameterChanged().
|
inlineinherited |
Definition at line 139 of file AbstractPhyloLikelihood.h.
References bpp::AbstractPhyloLikelihood::accessVariableNode(), bpp::AbstractPhyloLikelihood::context_, bpp::AbstractPhyloLikelihood::firstOrderDerivativeNodes_, and bpp::AbstractPhyloLikelihood::getLikelihoodNode().
Referenced by bpp::AbstractPhyloLikelihood::getFirstOrderDerivative(), and bpp::AbstractPhyloLikelihood::secondOrderDerivativeNode().
|
overridevirtualinherited |
Get the branch lengths parameters.
Implements bpp::PhyloLikelihoodInterface.
Definition at line 107 of file PhyloLikelihoodSet.cpp.
References bpp::AbstractPhyloLikelihoodSet::getPhyloLikelihood(), bpp::ParameterList::includeParameters(), and bpp::AbstractPhyloLikelihoodSet::nPhylo_.
|
overridevirtualinherited |
Implements bpp::PhyloLikelihoodInterface.
Definition at line 95 of file PhyloLikelihoodSet.cpp.
References bpp::AbstractPhyloLikelihoodSet::getPhyloLikelihood(), bpp::ParameterList::includeParameters(), and bpp::AbstractPhyloLikelihoodSet::nPhylo_.
|
inlineoverridevirtualinherited |
Implements bpp::SecondOrderDerivable.
Definition at line 131 of file AbstractPhyloLikelihood.h.
References bpp::convert(), and bpp::AbstractPhyloLikelihood::firstOrderDerivativeNode().
|
inlinevirtual |
Implements bpp::PhyloLikelihoodInterface.
Definition at line 80 of file PhyloLikelihoodFormula.h.
References likCal_.
|
pure virtualinherited |
Implemented in bpp::AbstractPhyloLikelihood.
|
inlineoverridevirtualinherited |
Implements bpp::PhyloLikelihoodInterface.
Definition at line 100 of file AbstractPhyloLikelihood.h.
References bpp::PhyloLikelihoodInterface::getLikelihoodCalculation().
Referenced by bpp::AbstractPhyloLikelihood::firstOrderDerivativeNode(), and bpp::AbstractPhyloLikelihood::getValue().
|
inlineinherited |
Get the logarithm of the likelihood for the whole dataset.
Definition at line 66 of file PhyloLikelihood.h.
References bpp::SecondOrderDerivable::getValue().
|
overridevirtualinherited |
Implements bpp::PhyloLikelihoodInterface.
Definition at line 84 of file PhyloLikelihoodSet.cpp.
References bpp::AbstractPhyloLikelihoodSet::getPhyloLikelihood(), bpp::ParameterList::includeParameters(), and bpp::AbstractPhyloLikelihoodSet::nPhylo_.
|
inlineoverridevirtualinherited |
Implements bpp::PhyloLikelihoodSetInterface.
Definition at line 139 of file PhyloLikelihoodSet.h.
References bpp::AbstractPhyloLikelihoodSet::nPhylo_.
Referenced by bpp::AbstractPhyloLikelihoodSet::AbstractPhyloLikelihoodSet(), bpp::AlignedPhyloLikelihoodMixture::AlignedPhyloLikelihoodMixture(), and bpp::PartitionProcessPhyloLikelihood::getData().
|
inlineoverridevirtualinherited |
Implements bpp::PhyloLikelihoodSetInterface.
Definition at line 134 of file PhyloLikelihoodSet.h.
References bpp::AbstractPhyloLikelihoodSet::pPhyloCont_.
|
inlineoverridevirtualinherited |
Implements bpp::PhyloLikelihoodSetInterface.
Definition at line 129 of file PhyloLikelihoodSet.h.
References bpp::AbstractPhyloLikelihoodSet::pPhyloCont_.
Referenced by bpp::AbstractPhyloLikelihoodSet::AbstractPhyloLikelihoodSet(), bpp::PartitionProcessPhyloLikelihood::getData(), bpp::PartitionProcessPhyloLikelihood::PartitionProcessPhyloLikelihood(), readFormula(), and bpp::PartitionProcessPhyloLikelihood::setData().
|
inlineoverridevirtualinherited |
Implements bpp::PhyloLikelihoodSetInterface.
Definition at line 169 of file PhyloLikelihoodSet.h.
References bpp::AbstractPhyloLikelihoodSet::pPhyloCont_.
Referenced by bpp::AbstractPhyloLikelihoodSet::addPhyloLikelihood(), bpp::AbstractPhyloLikelihoodSet::fireParameterChanged(), bpp::AbstractPhyloLikelihoodSet::getBranchLengthParameters(), bpp::AbstractPhyloLikelihoodSet::getDerivableParameters(), bpp::PartitionProcessPhyloLikelihood::getLikelihoodCalculationForASite(), bpp::AbstractPhyloLikelihoodSet::getNonDerivableParameters(), bpp::PartitionProcessPhyloLikelihood::getPhyloLikelihoodForASite(), bpp::AbstractPhyloLikelihoodSet::getRateDistributionParameters(), bpp::AbstractPhyloLikelihoodSet::getRootFrequenciesParameters(), bpp::AbstractPhyloLikelihoodSet::getSubstitutionModelParameters(), bpp::AbstractPhyloLikelihoodSet::isInitialized(), makeLikelihoodsFromOperator(), and readFormula().
|
inlineoverridevirtualinherited |
Implements bpp::PhyloLikelihoodSetInterface.
Definition at line 175 of file PhyloLikelihoodSet.h.
References bpp::AbstractPhyloLikelihoodSet::pPhyloCont_.
|
overridevirtualinherited |
Get the parameters associated to the rate distribution(s).
Implements bpp::PhyloLikelihoodInterface.
Definition at line 129 of file PhyloLikelihoodSet.cpp.
References bpp::AbstractPhyloLikelihoodSet::getPhyloLikelihood(), bpp::ParameterList::includeParameters(), and bpp::AbstractPhyloLikelihoodSet::nPhylo_.
|
overridevirtualinherited |
Get the parameters associated to the root frequencies(s).
Implements bpp::PhyloLikelihoodInterface.
Definition at line 140 of file PhyloLikelihoodSet.cpp.
References bpp::AbstractPhyloLikelihoodSet::getPhyloLikelihood(), bpp::ParameterList::includeParameters(), and bpp::AbstractPhyloLikelihoodSet::nPhylo_.
|
inlineoverridevirtualinherited |
Implements bpp::SecondOrderDerivable.
Definition at line 155 of file AbstractPhyloLikelihood.h.
|
inlineoverridevirtualinherited |
Implements bpp::SecondOrderDerivable.
Definition at line 160 of file AbstractPhyloLikelihood.h.
References bpp::convert(), and bpp::AbstractPhyloLikelihood::secondOrderDerivativeNode().
|
overridevirtualinherited |
Get the parameters associated to substitution model(s).
Implements bpp::PhyloLikelihoodInterface.
Definition at line 118 of file PhyloLikelihoodSet.cpp.
References bpp::AbstractPhyloLikelihoodSet::getPhyloLikelihood(), bpp::ParameterList::includeParameters(), and bpp::AbstractPhyloLikelihoodSet::nPhylo_.
|
inlineoverridevirtualinherited |
Implements bpp::SecondOrderDerivable.
Definition at line 124 of file AbstractPhyloLikelihood.h.
References bpp::convert(), bpp::AbstractPhyloLikelihood::getLikelihoodNode(), and bpp::AbstractPhyloLikelihood::minusLogLik_.
|
inlineoverridevirtualinherited |
Implements bpp::PhyloLikelihoodSetInterface.
Definition at line 164 of file PhyloLikelihoodSet.h.
References bpp::AbstractPhyloLikelihoodSet::nPhylo_.
Referenced by readFormula().
|
inlineoverridevirtualinherited |
Reimplemented from bpp::AbstractPhyloLikelihood.
Definition at line 197 of file PhyloLikelihoodSet.h.
References bpp::AbstractPhyloLikelihoodSet::getPhyloLikelihood(), and bpp::AbstractPhyloLikelihoodSet::nPhylo_.
|
inlinevirtual |
Implements bpp::PhyloLikelihoodInterface.
Definition at line 75 of file PhyloLikelihoodFormula.h.
References likCal_.
Build the LikelihoodNode from the computation Tree.
Definition at line 90 of file PhyloLikelihoodFormula.h.
References compTree_, and makeLikelihoodsFromOperator().
|
private |
Build the LikelihoodNode from a node of the computation Tree.
Definition at line 72 of file PhyloLikelihoodFormula.cpp.
References bpp::AbstractPhyloLikelihood::context_, bpp::NumericConstant< T >::create(), bpp::CWiseNegate< T >::create(), bpp::CWiseInverse< T >::create(), bpp::CWiseLog< T >::create(), bpp::CWiseExp< T >::create(), bpp::AbstractPhyloLikelihoodSet::getPhyloLikelihood(), and bpp::AbstractParametrizable::shareParameters_().
Referenced by makeLikelihoods().
|
inlineprotected |
Definition at line 43 of file PhyloLikelihoodFormula.h.
References compTree_, likCal_, and bpp::AbstractPhyloLikelihoodSet::operator=().
std::string PhyloLikelihoodFormula::output | ( | ) | const |
@ output
Definition at line 67 of file PhyloLikelihoodFormula.cpp.
References compTree_.
Referenced by bpp::PhylogeneticsApplicationTools::getPhyloLikelihoodContainer(), and readFormula().
void PhyloLikelihoodFormula::readFormula | ( | const std::string & | formula, |
bool | inCollection = true |
||
) |
@ input
Definition at line 36 of file PhyloLikelihoodFormula.cpp.
References bpp::AbstractPhyloLikelihoodSet::addPhyloLikelihood(), compTree_, bpp::AbstractPhyloLikelihoodSet::getPhyloContainer(), bpp::AbstractPhyloLikelihoodSet::getPhyloLikelihood(), bpp::StringTokenizer::hasMoreToken(), bpp::AbstractPhyloLikelihoodSet::hasPhyloLikelihood(), bpp::StringTokenizer::nextToken(), output(), and bpp::TextTools::toString().
|
inlineinherited |
Definition at line 168 of file AbstractPhyloLikelihood.h.
References bpp::AbstractPhyloLikelihood::accessVariableNode(), bpp::AbstractPhyloLikelihood::context_, bpp::AbstractPhyloLikelihood::firstOrderDerivativeNode(), and bpp::AbstractPhyloLikelihood::secondOrderDerivativeNodes_.
Referenced by bpp::AbstractPhyloLikelihood::getSecondOrderDerivative().
|
inlineoverridevirtualinherited |
Implements bpp::SecondOrderDerivable.
Definition at line 95 of file AbstractPhyloLikelihood.h.
References bpp::SecondOrderDerivable::setParametersValues().
|
inlineinherited |
Share Parameters, that are DF_parameters.
Definition at line 90 of file AbstractPhyloLikelihood.h.
References bpp::SecondOrderDerivable::getParameters_(), and bpp::ParameterList::shareParameters().
Referenced by bpp::AbstractPhyloLikelihood::AbstractPhyloLikelihood(), and bpp::AbstractPhyloLikelihood::operator=().
|
private |
Definition at line 25 of file PhyloLikelihoodFormula.h.
Referenced by makeLikelihoods(), operator=(), output(), and readFormula().
|
protectedinherited |
Definition at line 34 of file AbstractPhyloLikelihood.h.
Referenced by bpp::AbstractPhyloLikelihoodSet::addPhyloLikelihood(), bpp::AbstractPhyloLikelihood::context(), bpp::AbstractPhyloLikelihood::firstOrderDerivativeNode(), bpp::OnABranchPhyloLikelihood::firstOrderDerivativeVector(), bpp::OneProcessSequencePhyloLikelihood::firstOrderDerivativeVector(), bpp::SingleProcessPhyloLikelihood::firstOrderDerivativeVector(), makeLikelihoodsFromOperator(), bpp::AbstractPhyloLikelihood::operator=(), bpp::AbstractPhyloLikelihood::secondOrderDerivativeNode(), bpp::OnABranchPhyloLikelihood::secondOrderDerivativeVector(), bpp::OneProcessSequencePhyloLikelihood::secondOrderDerivativeVector(), and bpp::SingleProcessPhyloLikelihood::secondOrderDerivativeVector().
|
mutableprotectedinherited |
For Dataflow computing.
Definition at line 44 of file AbstractPhyloLikelihood.h.
Referenced by bpp::AbstractPhyloLikelihood::firstOrderDerivativeNode().
|
private |
Definition at line 27 of file PhyloLikelihoodFormula.h.
Referenced by getLikelihoodCalculation(), likelihoodCalculation(), and operator=().
|
mutableprotectedinherited |
the value
Definition at line 39 of file AbstractPhyloLikelihood.h.
Referenced by bpp::AbstractPhyloLikelihood::getValue(), and bpp::AbstractPhyloLikelihood::operator=().
|
protectedinherited |
vector of AbstractPhyloLikelihood numbers
Definition at line 79 of file PhyloLikelihoodSet.h.
Referenced by bpp::AbstractAlignedPhyloLikelihoodSet::AbstractAlignedPhyloLikelihoodSet(), bpp::AbstractPhyloLikelihoodSet::addPhyloLikelihood(), bpp::AbstractPhyloLikelihoodSet::fireParameterChanged(), bpp::AbstractPhyloLikelihoodSet::getBranchLengthParameters(), bpp::AbstractPhyloLikelihoodSet::getDerivableParameters(), bpp::AbstractPhyloLikelihoodSet::getNonDerivableParameters(), bpp::AbstractPhyloLikelihoodSet::getNumbersOfPhyloLikelihoods(), bpp::AbstractPhyloLikelihoodSet::getRateDistributionParameters(), bpp::AbstractPhyloLikelihoodSet::getRootFrequenciesParameters(), bpp::AbstractPhyloLikelihoodSet::getSubstitutionModelParameters(), bpp::AbstractPhyloLikelihoodSet::hasPhyloLikelihood(), bpp::AbstractPhyloLikelihoodSet::isInitialized(), bpp::PartitionProcessPhyloLikelihood::makeLikCal_(), and bpp::AbstractPhyloLikelihoodSet::operator=().
|
protectedinherited |
pointer to a PhyloLikelihoodContainer
Definition at line 74 of file PhyloLikelihoodSet.h.
Referenced by bpp::AbstractAlignedPhyloLikelihoodSet::getAlignedPhyloLikelihood(), bpp::AbstractPhyloLikelihoodSet::getPhyloContainer(), bpp::AbstractPhyloLikelihoodSet::getPhyloLikelihood(), bpp::AbstractPhyloLikelihoodSet::operator=(), and bpp::PartitionProcessPhyloLikelihood::PartitionProcessPhyloLikelihood().
|
mutableprotectedinherited |
Definition at line 48 of file AbstractPhyloLikelihood.h.
Referenced by bpp::AbstractPhyloLikelihood::secondOrderDerivativeNode().
|
mutableprotectedinherited |
vector of pointers towards LikelihoodCalculation, used for the global likelihood.
Definition at line 85 of file PhyloLikelihoodSet.h.
Referenced by bpp::AbstractPhyloLikelihoodSet::addPhyloLikelihood(), bpp::PartitionProcessPhyloLikelihood::makeLikCal_(), and bpp::AbstractPhyloLikelihoodSet::operator=().