bpp-phyl3  3.0.0
bpp::AbstractTreeLikelihood Class Referenceabstract

Partial implementation of the TreeLikelihood interface. More...

#include <Bpp/Phyl/Legacy/Likelihood/AbstractTreeLikelihood.h>

+ Inheritance diagram for bpp::AbstractTreeLikelihood:
+ Collaboration diagram for bpp::AbstractTreeLikelihood:

Classes

class  ConstNoPartitionBranchModelDescription
 
class  ConstNoPartitionBranchModelIterator
 
class  ConstNoPartitionSiteModelDescription
 
class  SimpleBranchIterator
 A very simple branch iterator. More...
 
class  SimpleSiteIterator
 A very simple site iterator. More...
 

Public Member Functions

 AbstractTreeLikelihood ()
 
 AbstractTreeLikelihood (const AbstractTreeLikelihood &lik)
 
AbstractTreeLikelihoodoperator= (const AbstractTreeLikelihood &lik)
 
virtual ~AbstractTreeLikelihood ()
 Abstract class destructor. More...
 
TreeLikelihoodInterfaceclone () const override=0
 
virtual void setData (const AlignmentDataInterface &sites)=0
 Set the dataset for which the likelihood must be evaluated. More...
 
virtual TreeLikelihoodDatalikelihoodData ()=0
 
virtual const TreeLikelihoodDatalikelihoodData () const =0
 
virtual double getLikelihoodForASite (size_t site) const =0
 Get the likelihood for a site. More...
 
virtual double getLogLikelihoodForASite (size_t site) const =0
 Get the logarithm of the likelihood for a site. More...
 
virtual double getLikelihoodForASiteForAState (size_t site, int state) const =0
 Get the likelihood for a site and for a state. More...
 
virtual double getLogLikelihoodForASiteForAState (size_t site, int state) const =0
 Get the logarithm of the likelihood for a site and for a state. More...
 
virtual double getLikelihood () const =0
 Get the likelihood for the whole dataset. More...
 
virtual double getLogLikelihood () const =0
 Get the logarithm of the likelihood for the whole dataset. More...
 
virtual size_t getNumberOfStates () const =0
 
virtual int getAlphabetStateAsInt (size_t i) const =0
 
virtual std::string getAlphabetStateAsChar (size_t i) const =0
 
virtual const std::vector< int > & getAlphabetStates () const =0
 
virtual ParameterList getDerivableParameters () const =0
 All derivable parameters. More...
 
virtual ParameterList getNonDerivableParameters () const =0
 All non derivable parameters. More...
 
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 &parameters)
 
virtual double d2f (const std::string &variable1, const std::string &variable2, const ParameterList &parameters)
 
virtual double getFirstOrderDerivative (const std::string &variable) const=0
 
virtual double df (const std::string &variable, const ParameterList &parameters)
 
virtual void setParameters (const ParameterList &parameters)=0
 
virtual double getValue () const=0
 
virtual double f (const ParameterList &parameters)
 
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
 
bool hasParameter (const std::string &name) const override
 
const ParameterListgetParameters () const override
 
const Parameterparameter (const std::string &name) const override
 
const std::shared_ptr< Parameter > & getParameter (const std::string &name) const
 
double getParameterValue (const std::string &name) const override
 
void setAllParametersValues (const ParameterList &parameters) override
 
void setParameterValue (const std::string &name, double value) override
 
void setParametersValues (const ParameterList &parameters) override
 
bool matchParametersValues (const ParameterList &parameters) override
 
void removeConstraint (const std::string &name) override
 
void setConstraint (const std::string &name, std::shared_ptr< ConstraintInterface > constraint) override
 
size_t getNumberOfParameters () const override
 
void setNamespace (const std::string &prefix) override
 
std::string getNamespace () const override
 
std::string getParameterNameWithoutNamespace (const std::string &name) const override
 
virtual void fireParameterChanged (const ParameterList &parameters)
 
virtual Clonableclone () const=0
 
The TreeLikelihood interface.
bool hasLikelihoodData () const
 
const AlignmentDataInterfacedata () const
 Get the dataset for which the likelihood must be evaluated. More...
 
std::shared_ptr< const AlphabetgetAlphabet () const
 Get the alphabet associated to the dataset. More...
 
Vdouble getLikelihoodPerSite () const
 Get the likelihood for each site. More...
 
Vdouble getLogLikelihoodPerSite () const
 Get the logarithm of the likelihood for each site. More...
 
VVdouble getLikelihoodPerSitePerState () const
 Get the likelihood for each site and for each state. More...
 
VVdouble getLogLikelihoodPerSitePerState () const
 Get the logarithm of the likelihood for each site and for each state. More...
 
size_t getNumberOfSites () const
 Get the number of sites in the dataset. More...
 
const Treetree () const
 Get the tree (topology and branch lengths). More...
 
void enableDerivatives (bool yn)
 Tell if derivatives must be computed. More...
 
void enableFirstOrderDerivatives (bool yn)
 
void enableSecondOrderDerivatives (bool yn)
 
bool enableFirstOrderDerivatives () const
 
bool enableSecondOrderDerivatives () const
 
bool isInitialized () const
 
void initialize ()
 Init the likelihood object. More...
 
Retrieve some particular parameters subsets.
virtual ParameterList getBranchLengthsParameters () const =0
 Get the branch lengths parameters. More...
 
virtual ParameterList getSubstitutionModelParameters () const =0
 Get the parameters associated to substitution model(s). More...
 
virtual std::shared_ptr< const TransitionModelInterfacegetModelForSite (int nodeId, size_t siteIndex) const =0
 Get the substitution model associated to a given node and alignment column. More...
 
virtual std::shared_ptr< TransitionModelInterfacegetModelForSite (int nodeId, size_t siteIndex)=0
 Get the substitution model associated to a given node and alignment column. More...
 
virtual VVdouble getTransitionProbabilities (int nodeId, size_t siteIndex) const =0
 Retrieves all Pij(t) for a particular branch, defined by the upper node and site. More...
 
virtual ConstBranchModelIteratorgetNewBranchModelIterator (int nodeId) const =0
 
virtual ConstSiteModelIteratorgetNewSiteModelIterator (size_t siteIndex) const =0
 
virtual size_t getSiteIndex (size_t site) const =0
 Get the index (used for inner computations) of a given site (original alignment column). More...
 
virtual const std::vector< double > & getRootFrequencies (size_t siteIndex) const =0
 Get the values of the frequencies for each state in the alphabet at the root node. More...
 

Protected Member Functions

virtual ParameterListgetParameters_ ()=0
 
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 &parameters)
 
virtual void shareParameter_ (const std::shared_ptr< Parameter > &parameter)
 
virtual void shareParameters_ (const ParameterList &parameters)
 
virtual void includeParameters_ (const ParameterList &parameters)
 
virtual void deleteParameter_ (size_t index)
 
virtual void deleteParameter_ (std::string &name)
 
virtual void deleteParameters_ (const std::vector< std::string > &names)
 
void resetParameters_ ()
 
ParametergetParameter_ (const std::string &name)
 
ParametergetParameter_ (size_t index)
 
const ParametergetParameter_ (size_t index) const
 
ParametergetParameterWithNamespace_ (const std::string &name)
 
const ParametergetParameterWithNamespace_ (const std::string &name) const
 
ParameterListgetParameters_ () override
 

Protected Attributes

std::unique_ptr< const AlignmentDataInterfacedata_
 
std::shared_ptr< TreeTemplate< Node > > tree_
 
bool computeFirstOrderDerivatives_
 
bool computeSecondOrderDerivatives_
 
bool initialized_
 

Private Attributes

ParameterList parameters_
 
std::string prefix_
 

Detailed Description

Partial implementation of the TreeLikelihood interface.

This class implements a few methods useful for most of likelihood computation methods.

It includes a tree_ and a data_ pointers. This objects are owned by the class, and hence hard copied when cloning, and destroyed by the destructor.

It also adds an abstract method for recursive computations.

Definition at line 35 of file AbstractTreeLikelihood.h.

Constructor & Destructor Documentation

◆ AbstractTreeLikelihood() [1/2]

bpp::AbstractTreeLikelihood::AbstractTreeLikelihood ( )
inline

Definition at line 215 of file AbstractTreeLikelihood.h.

◆ AbstractTreeLikelihood() [2/2]

bpp::AbstractTreeLikelihood::AbstractTreeLikelihood ( const AbstractTreeLikelihood lik)
inline

Definition at line 223 of file AbstractTreeLikelihood.h.

References data_, and tree_.

◆ ~AbstractTreeLikelihood()

virtual bpp::AbstractTreeLikelihood::~AbstractTreeLikelihood ( )
inlinevirtual

Abstract class destructor.

This destructor is empty.

Definition at line 253 of file AbstractTreeLikelihood.h.

Member Function Documentation

◆ clone()

◆ data()

◆ enableDerivatives()

void bpp::AbstractTreeLikelihood::enableDerivatives ( bool  yn)
inlinevirtual

Tell if derivatives must be computed.

This methods calls the enableFirstOrderDerivatives and enableSecondOrderDerivatives.

Parameters
ynYes or no.

Implements bpp::TreeLikelihoodInterface.

Definition at line 270 of file AbstractTreeLikelihood.h.

References computeFirstOrderDerivatives_, and computeSecondOrderDerivatives_.

Referenced by bpp::AbstractDiscreteRatesAcrossSitesTreeLikelihood::AbstractDiscreteRatesAcrossSitesTreeLikelihood().

◆ enableFirstOrderDerivatives() [1/2]

bool bpp::AbstractTreeLikelihood::enableFirstOrderDerivatives ( ) const
inlinevirtual

Implements bpp::SecondOrderDerivable.

Definition at line 273 of file AbstractTreeLikelihood.h.

References computeFirstOrderDerivatives_.

◆ enableFirstOrderDerivatives() [2/2]

void bpp::AbstractTreeLikelihood::enableFirstOrderDerivatives ( bool  yn)
inlinevirtual

Implements bpp::SecondOrderDerivable.

Definition at line 271 of file AbstractTreeLikelihood.h.

References computeFirstOrderDerivatives_.

◆ enableSecondOrderDerivatives() [1/2]

bool bpp::AbstractTreeLikelihood::enableSecondOrderDerivatives ( ) const
inlinevirtual

Implements bpp::SecondOrderDerivable.

Definition at line 274 of file AbstractTreeLikelihood.h.

References computeSecondOrderDerivatives_.

◆ enableSecondOrderDerivatives() [2/2]

void bpp::AbstractTreeLikelihood::enableSecondOrderDerivatives ( bool  yn)
inlinevirtual

◆ getAlphabet()

std::shared_ptr<const Alphabet> bpp::AbstractTreeLikelihood::getAlphabet ( ) const
inlinevirtual

Get the alphabet associated to the dataset.

Returns
the alphabet associated to the dataset.

Implements bpp::TreeLikelihoodInterface.

Definition at line 263 of file AbstractTreeLikelihood.h.

References data_.

◆ getAlphabetStateAsChar()

virtual std::string bpp::TreeLikelihoodInterface::getAlphabetStateAsChar ( size_t  i) const
pure virtualinherited
Returns
the alphabet state corresponding to the given model state.

Implemented in bpp::AbstractNonHomogeneousTreeLikelihood, and bpp::AbstractHomogeneousTreeLikelihood.

◆ getAlphabetStateAsInt()

virtual int bpp::TreeLikelihoodInterface::getAlphabetStateAsInt ( size_t  i) const
pure virtualinherited
Returns
the alphabet state corresponding to the given model state.

Implemented in bpp::AbstractNonHomogeneousTreeLikelihood, and bpp::AbstractHomogeneousTreeLikelihood.

◆ getAlphabetStates()

virtual const std::vector<int>& bpp::TreeLikelihoodInterface::getAlphabetStates ( ) const
pure virtualinherited
Returns
the alphabet states corresponding to all model states.

Implemented in bpp::AbstractNonHomogeneousTreeLikelihood, and bpp::AbstractHomogeneousTreeLikelihood.

◆ getBranchLengthsParameters()

virtual ParameterList bpp::TreeLikelihoodInterface::getBranchLengthsParameters ( ) const
pure virtualinherited

◆ getDerivableParameters()

virtual ParameterList bpp::TreeLikelihoodInterface::getDerivableParameters ( ) const
pure virtualinherited

All derivable parameters.

Usually, this contains all branch lengths parameters.

Returns
A ParameterList.

Implemented in bpp::AbstractDiscreteRatesAcrossSitesTreeLikelihood.

◆ getLikelihood()

virtual double bpp::TreeLikelihoodInterface::getLikelihood ( ) const
pure virtualinherited

◆ getLikelihoodForASite()

virtual double bpp::TreeLikelihoodInterface::getLikelihoodForASite ( size_t  site) const
pure virtualinherited

Get the likelihood for a site.

Parameters
siteThe site index to analyse.
Returns
The likelihood for site site.

Implemented in bpp::DRHomogeneousTreeLikelihood, bpp::RNonHomogeneousTreeLikelihood, bpp::RHomogeneousTreeLikelihood, bpp::DRNonHomogeneousTreeLikelihood, and bpp::DRHomogeneousMixedTreeLikelihood.

Referenced by getLikelihoodPerSite().

◆ getLikelihoodForASiteForAState()

virtual double bpp::TreeLikelihoodInterface::getLikelihoodForASiteForAState ( size_t  site,
int  state 
) const
pure virtualinherited

Get the likelihood for a site and for a state.

Parameters
siteThe site index to analyse.
stateThe state to consider.
Returns
The likelihood for site site and state state.

Implemented in bpp::AbstractDiscreteRatesAcrossSitesTreeLikelihood.

Referenced by getLikelihoodPerSitePerState().

◆ getLikelihoodPerSite()

Vdouble AbstractTreeLikelihood::getLikelihoodPerSite ( ) const
virtual

◆ getLikelihoodPerSitePerState()

VVdouble AbstractTreeLikelihood::getLikelihoodPerSitePerState ( ) const
virtual

Get the likelihood for each site and for each state.

Returns
A 2d vector with all likelihoods for each site and for each state.

Implements bpp::TreeLikelihoodInterface.

Definition at line 35 of file AbstractTreeLikelihood.cpp.

References bpp::TreeLikelihoodInterface::getLikelihoodForASiteForAState(), getNumberOfSites(), and bpp::TreeLikelihoodInterface::getNumberOfStates().

◆ getLogLikelihood()

virtual double bpp::TreeLikelihoodInterface::getLogLikelihood ( ) const
pure virtualinherited

Get the logarithm of the likelihood for the whole dataset.

Returns
The logarithm of the likelihood of the dataset.

Implemented in bpp::DRHomogeneousTreeLikelihood, bpp::RNonHomogeneousTreeLikelihood, bpp::RHomogeneousTreeLikelihood, bpp::DRNonHomogeneousTreeLikelihood, and bpp::DRHomogeneousMixedTreeLikelihood.

◆ getLogLikelihoodForASite()

virtual double bpp::TreeLikelihoodInterface::getLogLikelihoodForASite ( size_t  site) const
pure virtualinherited

Get the logarithm of the likelihood for a site.

Parameters
siteThe site index to analyse.
Returns
The logarithm of the likelihood for site site.

Implemented in bpp::DRHomogeneousTreeLikelihood, bpp::RNonHomogeneousTreeLikelihood, bpp::RHomogeneousTreeLikelihood, bpp::DRNonHomogeneousTreeLikelihood, and bpp::DRHomogeneousMixedTreeLikelihood.

Referenced by getLogLikelihoodPerSite().

◆ getLogLikelihoodForASiteForAState()

virtual double bpp::TreeLikelihoodInterface::getLogLikelihoodForASiteForAState ( size_t  site,
int  state 
) const
pure virtualinherited

Get the logarithm of the likelihood for a site and for a state.

Parameters
siteThe site index to analyse.
stateThe state to consider.
Returns
The logarithm of the likelihood for site site and state state.

Implemented in bpp::AbstractDiscreteRatesAcrossSitesTreeLikelihood.

Referenced by getLogLikelihoodPerSitePerState().

◆ getLogLikelihoodPerSite()

Vdouble AbstractTreeLikelihood::getLogLikelihoodPerSite ( ) const
virtual

Get the logarithm of the likelihood for each site.

Returns
A vector with all log likelihoods for each site.

Implements bpp::TreeLikelihoodInterface.

Definition at line 23 of file AbstractTreeLikelihood.cpp.

References bpp::TreeLikelihoodInterface::getLogLikelihoodForASite(), and getNumberOfSites().

◆ getLogLikelihoodPerSitePerState()

VVdouble AbstractTreeLikelihood::getLogLikelihoodPerSitePerState ( ) const
virtual

Get the logarithm of the likelihood for each site and for each state.

Returns
A 2d vector with all log likelihoods for each site and for each state.

Implements bpp::TreeLikelihoodInterface.

Definition at line 52 of file AbstractTreeLikelihood.cpp.

References bpp::TreeLikelihoodInterface::getLogLikelihoodForASiteForAState(), getNumberOfSites(), and bpp::TreeLikelihoodInterface::getNumberOfStates().

◆ getModelForSite() [1/2]

virtual std::shared_ptr<const TransitionModelInterface> bpp::TreeLikelihoodInterface::getModelForSite ( int  nodeId,
size_t  siteIndex 
) const
pure virtualinherited

Get the substitution model associated to a given node and alignment column.

Parameters
nodeIdThe id of the request node.
siteIndexThe index of the alignment position.
See also
getSiteIndex
Returns
A pointer toward the corresponding model.

Implemented in bpp::NonHomogeneousTreeLikelihood, and bpp::HomogeneousTreeLikelihood.

◆ getModelForSite() [2/2]

virtual std::shared_ptr<TransitionModelInterface> bpp::TreeLikelihoodInterface::getModelForSite ( int  nodeId,
size_t  siteIndex 
)
pure virtualinherited

Get the substitution model associated to a given node and alignment column.

Parameters
nodeIdThe id of the request node.
siteIndexThe index of the alignment position.
See also
getSiteIndex
Returns
A pointer toward the corresponding model.
Exceptions
NodeNotFoundExceptionThis exception may be thrown if the node is not found (depending on the implementation).

Implemented in bpp::NonHomogeneousTreeLikelihood, and bpp::HomogeneousTreeLikelihood.

◆ getNewBranchModelIterator()

virtual ConstBranchModelIterator* bpp::TreeLikelihoodInterface::getNewBranchModelIterator ( int  nodeId) const
pure virtualinherited

◆ getNewSiteModelIterator()

virtual ConstSiteModelIterator* bpp::TreeLikelihoodInterface::getNewSiteModelIterator ( size_t  siteIndex) const
pure virtualinherited

◆ getNonDerivableParameters()

virtual ParameterList bpp::TreeLikelihoodInterface::getNonDerivableParameters ( ) const
pure virtualinherited

All non derivable parameters.

Usually, this contains all substitution model parameters and rate distribution.

Returns
A ParameterList.

Implemented in bpp::AbstractDiscreteRatesAcrossSitesTreeLikelihood.

◆ getNumberOfSites()

◆ getNumberOfStates()

◆ getRootFrequencies()

virtual const std::vector<double>& bpp::TreeLikelihoodInterface::getRootFrequencies ( size_t  siteIndex) const
pure virtualinherited

Get the values of the frequencies for each state in the alphabet at the root node.

For reversible models, these are the equilibrium frequencies. For non-reversible models, these usually are distinct parameters.

For models without site partitioning, the set of frequencies is the same for all positions. For partition models, the frequencies may differ from one site to another.

Parameters
siteIndexThe index of the alignment position.
See also
getSiteIndex
Returns
A vector with ancestral frequencies for each state in the alphabet;

Implemented in bpp::AbstractNonHomogeneousTreeLikelihood, and bpp::AbstractHomogeneousTreeLikelihood.

Referenced by bpp::TreeLikelihoodTools::getAncestralFrequencies().

◆ getSiteIndex()

virtual size_t bpp::TreeLikelihoodInterface::getSiteIndex ( size_t  site) const
pure virtualinherited

Get the index (used for inner computations) of a given site (original alignment column).

Parameters
siteAn alignment position.
Returns
The site index corresponding to the given input alignment position.

Implemented in bpp::DRHomogeneousTreeLikelihood, bpp::RNonHomogeneousTreeLikelihood, bpp::RHomogeneousTreeLikelihood, and bpp::DRNonHomogeneousTreeLikelihood.

Referenced by bpp::TreeLikelihoodTools::getAncestralFrequencies().

◆ getSubstitutionModelParameters()

virtual ParameterList bpp::TreeLikelihoodInterface::getSubstitutionModelParameters ( ) const
pure virtualinherited

◆ getTransitionProbabilities()

virtual VVdouble bpp::TreeLikelihoodInterface::getTransitionProbabilities ( int  nodeId,
size_t  siteIndex 
) const
pure virtualinherited

Retrieves all Pij(t) for a particular branch, defined by the upper node and site.

These intermediate results may be used by other methods.

Parameters
nodeIdThe node defining the branch of interest.
siteIndexThe index of the alignment position.
See also
getSiteIndex
Returns
An array of dimension 2, where a[x][y] is the probability of substituting from x to y.

Implemented in bpp::AbstractDiscreteRatesAcrossSitesTreeLikelihood.

Referenced by bpp::TreeLikelihoodTools::getAncestralFrequencies_().

◆ hasLikelihoodData()

bool bpp::AbstractTreeLikelihood::hasLikelihoodData ( ) const
inlinevirtual
Returns
True if the TreeLikelihood object has a LikelihoodData.

Implements bpp::TreeLikelihoodInterface.

Definition at line 261 of file AbstractTreeLikelihood.h.

References data_.

Referenced by bpp::RNonHomogeneousMixedTreeLikelihood::init().

◆ initialize()

void bpp::AbstractTreeLikelihood::initialize ( )
inlinevirtual

Init the likelihood object.

This method is used to initialize all parameters. It is typically called after the constructor and the setData method. It contains virtual methods that can't be called in the constructor.

Exceptions
Exceptionif something bad happened, for instance if no data are associated to the likelihood function.

Implements bpp::TreeLikelihoodInterface.

Reimplemented in bpp::RNonHomogeneousMixedTreeLikelihood, bpp::RHomogeneousMixedTreeLikelihood, and bpp::DRHomogeneousMixedTreeLikelihood.

Definition at line 276 of file AbstractTreeLikelihood.h.

References initialized_.

◆ isInitialized()

bool bpp::AbstractTreeLikelihood::isInitialized ( ) const
inlinevirtual

◆ likelihoodData() [1/2]

virtual const TreeLikelihoodData& bpp::TreeLikelihoodInterface::likelihoodData ( ) const
pure virtualinherited

◆ likelihoodData() [2/2]

virtual TreeLikelihoodData& bpp::TreeLikelihoodInterface::likelihoodData ( )
pure virtualinherited

◆ operator=()

◆ setData()

◆ tree()

Member Data Documentation

◆ computeFirstOrderDerivatives_

◆ computeSecondOrderDerivatives_

◆ data_

◆ initialized_

◆ tree_

std::shared_ptr< TreeTemplate<Node> > bpp::AbstractTreeLikelihood::tree_
mutableprotected

Definition at line 209 of file AbstractTreeLikelihood.h.

Referenced by bpp::AbstractHomogeneousTreeLikelihood::AbstractHomogeneousTreeLikelihood(), bpp::AbstractNonHomogeneousTreeLikelihood::AbstractNonHomogeneousTreeLikelihood(), AbstractTreeLikelihood(), bpp::DRNonHomogeneousTreeLikelihood::computeLikelihoodAtNode(), bpp::DRHomogeneousTreeLikelihood::computeLikelihoodAtNode(), bpp::DRHomogeneousTreeLikelihood::computeRootLikelihood(), bpp::DRNonHomogeneousTreeLikelihood::computeRootLikelihood(), bpp::RNonHomogeneousMixedTreeLikelihood::computeTreeD2Likelihood(), bpp::RNonHomogeneousTreeLikelihood::computeTreeD2Likelihood(), bpp::RNonHomogeneousMixedTreeLikelihood::computeTreeDLikelihood(), bpp::RNonHomogeneousTreeLikelihood::computeTreeDLikelihood(), bpp::DRHomogeneousTreeLikelihood::computeTreeLikelihood(), bpp::DRNonHomogeneousTreeLikelihood::computeTreeLikelihood(), bpp::RHomogeneousTreeLikelihood::computeTreeLikelihood(), bpp::RNonHomogeneousTreeLikelihood::computeTreeLikelihood(), bpp::NNIHomogeneousTreeLikelihood::doNNI(), bpp::DRHomogeneousTreeLikelihood::DRHomogeneousTreeLikelihood(), bpp::DRNonHomogeneousTreeLikelihood::DRNonHomogeneousTreeLikelihood(), bpp::DRNonHomogeneousTreeLikelihood::fireParameterChanged(), bpp::RNonHomogeneousMixedTreeLikelihood::fireParameterChanged(), bpp::RNonHomogeneousTreeLikelihood::fireParameterChanged(), bpp::RHomogeneousTreeLikelihood::getD2LikelihoodForASiteForARateClass(), bpp::RNonHomogeneousTreeLikelihood::getD2LikelihoodForASiteForARateClass(), bpp::RHomogeneousTreeLikelihood::getDLikelihoodForASiteForARateClass(), bpp::RNonHomogeneousTreeLikelihood::getDLikelihoodForASiteForARateClass(), bpp::RHomogeneousTreeLikelihood::getLikelihoodForASiteForARateClass(), bpp::RNonHomogeneousTreeLikelihood::getLikelihoodForASiteForARateClass(), bpp::RHomogeneousTreeLikelihood::getLikelihoodForASiteForARateClassForAState(), bpp::RNonHomogeneousTreeLikelihood::getLikelihoodForASiteForARateClassForAState(), bpp::RHomogeneousTreeLikelihood::getLogLikelihoodForASiteForARateClass(), bpp::RNonHomogeneousTreeLikelihood::getLogLikelihoodForASiteForARateClass(), bpp::RHomogeneousTreeLikelihood::getLogLikelihoodForASiteForARateClassForAState(), bpp::RNonHomogeneousTreeLikelihood::getLogLikelihoodForASiteForARateClassForAState(), bpp::AbstractHomogeneousTreeLikelihood::getNewSiteModelIterator(), bpp::DRNonHomogeneousTreeLikelihood::getSecondOrderDerivative(), bpp::DRHomogeneousTreeLikelihood::init_(), bpp::DRNonHomogeneousTreeLikelihood::init_(), bpp::RHomogeneousTreeLikelihood::init_(), bpp::RNonHomogeneousTreeLikelihood::init_(), bpp::AbstractNonHomogeneousTreeLikelihood::init_(), bpp::AbstractHomogeneousTreeLikelihood::init_(), bpp::AbstractHomogeneousTreeLikelihood::operator=(), bpp::AbstractNonHomogeneousTreeLikelihood::operator=(), operator=(), bpp::DRHomogeneousTreeLikelihood::operator=(), bpp::DRNonHomogeneousTreeLikelihood::operator=(), bpp::RHomogeneousTreeLikelihood::operator=(), bpp::RNonHomogeneousTreeLikelihood::operator=(), bpp::RHomogeneousTreeLikelihood::RHomogeneousTreeLikelihood(), bpp::RNonHomogeneousTreeLikelihood::RNonHomogeneousTreeLikelihood(), bpp::DRNonHomogeneousTreeLikelihood::setData(), bpp::RHomogeneousTreeLikelihood::setData(), bpp::RNonHomogeneousTreeLikelihood::setData(), bpp::DRHomogeneousTreeLikelihood::setData(), bpp::NNIHomogeneousTreeLikelihood::testNNI(), and tree().


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