|
bpp-phyl
2.1.0
|
Partial implementation of the DiscreteRatesAcrossSitesTreeLikelihood interface. More...
#include <Bpp/Phyl/Likelihood/AbstractDiscreteRatesAcrossSitesTreeLikelihood.h>
Inheritance diagram for bpp::AbstractDiscreteRatesAcrossSitesTreeLikelihood:
Collaboration diagram for bpp::AbstractDiscreteRatesAcrossSitesTreeLikelihood:Public Member Functions | |
| AbstractDiscreteRatesAcrossSitesTreeLikelihood (DiscreteDistribution *rDist, bool verbose=true) throw (Exception) | |
| AbstractDiscreteRatesAcrossSitesTreeLikelihood (const AbstractDiscreteRatesAcrossSitesTreeLikelihood &tl) | |
| AbstractDiscreteRatesAcrossSitesTreeLikelihood & | operator= (const AbstractDiscreteRatesAcrossSitesTreeLikelihood &tl) |
| virtual | ~AbstractDiscreteRatesAcrossSitesTreeLikelihood () |
| TreeLikelihood * | clone () const =0 |
| virtual Clonable * | clone () const =0 |
| virtual void | setData (const SiteContainer &sites)=0 |
| Set the dataset for which the likelihood must be evaluated. | |
| virtual TreeLikelihoodData * | getLikelihoodData ()=0 |
| virtual const TreeLikelihoodData * | getLikelihoodData () const =0 |
| virtual double | getLikelihoodForASite (size_t site) const =0 |
| Get the likelihood for a site. | |
| virtual double | getLogLikelihoodForASite (size_t site) const =0 |
| Get the logarithm of the likelihood for a site. | |
| virtual double | getLikelihood () const =0 |
| Get the likelihood for the whole dataset. | |
| virtual double | getLogLikelihood () const =0 |
| Get the logarithm of the likelihood for the whole dataset. | |
| 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 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 |
| bool | hasParameter (const std::string &name) const |
| virtual const ParameterList & | getParameters () const =0 |
| const ParameterList & | getParameters () const |
| virtual const Parameter & | getParameter (const std::string &name) const =0 |
| const Parameter & | getParameter (const std::string &name) const |
| virtual double | getParameterValue (const std::string &name) const =0 |
| double | getParameterValue (const std::string &name) const |
| virtual void | setAllParametersValues (const ParameterList ¶meters)=0 |
| void | setAllParametersValues (const ParameterList ¶meters) |
| virtual void | setParameterValue (const std::string &name, double value)=0 |
| void | setParameterValue (const std::string &name, double value) |
| virtual void | setParametersValues (const ParameterList ¶meters)=0 |
| void | setParametersValues (const ParameterList ¶meters) |
| virtual bool | matchParametersValues (const ParameterList ¶meters)=0 |
| bool | matchParametersValues (const ParameterList ¶meters) |
| virtual size_t | getNumberOfParameters () const =0 |
| size_t | getNumberOfParameters () const |
| virtual void | setNamespace (const std::string &prefix)=0 |
| void | setNamespace (const std::string &prefix) |
| virtual std::string | getNamespace () const =0 |
| std::string | getNamespace () const |
| virtual std::string | getParameterNameWithoutNamespace (const std::string &name) const =0 |
| std::string | getParameterNameWithoutNamespace (const std::string &name) const |
| virtual void | fireParameterChanged (const ParameterList ¶meters)=0 |
| virtual double | getLikelihoodForASiteForARateClass (size_t site, size_t rateClass) const =0 |
| Get the likelihood for a site knowing its rate class. | |
| virtual double | getLogLikelihoodForASiteForARateClass (size_t site, size_t rateClass) const =0 |
| Get the logarithm of the likelihood for a site knowing its rate class. | |
| virtual double | getLikelihoodForASiteForARateClassForAState (size_t site, size_t rateClass, int state) const =0 |
| Get the likelihood for a site knowing its rate class and its ancestral state. | |
| virtual double | getLogLikelihoodForASiteForARateClassForAState (size_t site, size_t rateClass, int state) const =0 |
| Get the logarithm of the likelihood for a site knowing its rate class and its ancestral state. | |
| virtual VVVdouble | getTransitionProbabilitiesPerRateClass (int nodeId, size_t siteIndex) const =0 |
| Retrieves all Pij(t) for a particular branch, defined by the upper node. | |
The TreeLikelihood interface. | |
Other methods are implemented in the AbstractTreeLikelihood class. | |
| double | getLikelihoodForASiteForAState (size_t site, int state) const |
| Get the likelihood for a site and for a state. | |
| double | getLogLikelihoodForASiteForAState (size_t site, int state) const |
| Get the logarithm of the likelihood for a site and for a state. | |
| ParameterList | getDerivableParameters () const |
| All derivable parameters. | |
| ParameterList | getNonDerivableParameters () const |
| All non derivable parameters. | |
| VVdouble | getTransitionProbabilities (int nodeId, size_t siteIndex) const |
| Retrieves all Pij(t) for a particular branch, defined by the upper node and site. | |
The DiscreteRatesAcrossSites interface implementation: | |
| const DiscreteDistribution * | getRateDistribution () const |
| Get the rate distribution used for the computation. | |
| DiscreteDistribution * | getRateDistribution () |
| Get the rate distribution used for the computation. | |
| size_t | getNumberOfClasses () const |
| Get the number of classes. | |
| ParameterList | getRateDistributionParameters () const |
| Get the parameters associated to the rate distirbution. | |
| VVdouble | getLikelihoodForEachSiteForEachRateClass () const |
| Get the likelihood for each site and each rate class. | |
| VVdouble | getLogLikelihoodForEachSiteForEachRateClass () const |
| Get the logarithm of the likelihood for each site and each rate class. | |
| VVVdouble | getLikelihoodForEachSiteForEachRateClassForEachState () const |
| Get the likelihood for each site and each rate class and each state. | |
| VVVdouble | getLogLikelihoodForEachSiteForEachRateClassForEachState () const |
| Get the logarithm of the likelihood for each site and each rate class and each state. | |
| VVdouble | getPosteriorProbabilitiesOfEachRate () const |
| Get the posterior probability for each site of belonging to a particular rate class. | |
| Vdouble | getRateWithMaxPostProbOfEachSite () const |
| Get the posterior rate (the one with maximum posterior probability) for each site. | |
| std::vector< size_t > | getRateClassWithMaxPostProbOfEachSite () const |
| Get the posterior rate class (the one with maximum posterior probability) for each site. | |
| Vdouble | getPosteriorRateOfEachSite () const |
| Get the posterior rate, i.e. averaged over all classes and weighted with posterior probabilities, for each site. | |
The TreeLikelihood interface. | |
| const SiteContainer * | getData () const |
| Get the dataset for which the likelihood must be evaluated. | |
| const Alphabet * | getAlphabet () const |
| Get the alphabet associated to the dataset. | |
| Vdouble | getLikelihoodForEachSite () const |
| Get the likelihood for each site. | |
| Vdouble | getLogLikelihoodForEachSite () const |
| Get the logarithm of the likelihood for each site. | |
| VVdouble | getLikelihoodForEachSiteForEachState () const |
| Get the likelihood for each site and for each state. | |
| VVdouble | getLogLikelihoodForEachSiteForEachState () const |
| Get the logarithm of the likelihood for each site and for each state. | |
| size_t | getNumberOfSites () const |
| Get the number of sites in the dataset. | |
| size_t | getNumberOfStates () const |
| Get the number of states in the alphabet associated to the dataset. | |
| const Tree & | getTree () const |
| Get the tree (topology and branch lengths). | |
| void | enableDerivatives (bool yn) |
| Tell if derivatives must be computed. | |
| void | enableFirstOrderDerivatives (bool yn) |
| bool | enableFirstOrderDerivatives () const |
| void | enableSecondOrderDerivatives (bool yn) |
| bool | enableSecondOrderDerivatives () const |
| bool | isInitialized () const |
| void | initialize () throw (Exception) |
| Init the likelihood object. | |
Retrieve some particular parameters subsets. | |
| virtual ParameterList | getBranchLengthsParameters () const =0 |
| Get the branch lengths parameters. | |
| virtual ParameterList | getSubstitutionModelParameters () const =0 |
| Get the parameters associated to substitution model(s). | |
| virtual const SubstitutionModel * | getSubstitutionModel (int nodeId, size_t siteIndex) const =0 throw (NodeNotFoundException) |
| Get the substitution model associated to a given node and alignment column. | |
| virtual SubstitutionModel * | getSubstitutionModel (int nodeId, size_t siteIndex)=0 throw (NodeNotFoundException) |
| Get the substitution model associated to a given node and alignment column. | |
| virtual ConstBranchModelIterator * | getNewBranchModelIterator (int nodeId) const =0 |
| virtual ConstSiteModelIterator * | getNewSiteModelIterator (size_t siteIndex) const =0 |
| virtual size_t | getSiteIndex (size_t site) const =0 throw (IndexOutOfBoundsException) |
| Get the index (used for inner computations) of a given site (original alignment column). | |
| 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. | |
Static Public Member Functions | |
Generic tools to deal with likelihood arrays | |
| static void | resetLikelihoodArray (VVVdouble &likelihoodArray) |
| Set all conditional likelihoods to 1. | |
| static void | displayLikelihoodArray (const VVVdouble &likelihoodArray) |
| Print the likelihood array to terminal (debugging tool). | |
Protected Member Functions | |
| void | addParameter_ (Parameter *parameter) |
| void | addParameters_ (const ParameterList ¶meters) |
| void | deleteParameter_ (size_t index) |
| 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 |
| ParameterList & | getParameters_ () |
Protected Attributes | |
| DiscreteDistribution * | rateDistribution_ |
| const SiteContainer * | data_ |
| TreeTemplate< Node > * | tree_ |
| bool | computeFirstOrderDerivatives_ |
| bool | computeSecondOrderDerivatives_ |
| bool | initialized_ |
Partial implementation of the DiscreteRatesAcrossSitesTreeLikelihood interface.
It contains a pointer toward a DiscreteDistribution object. This object may be shared by several instances of the class.
Definition at line 56 of file AbstractDiscreteRatesAcrossSitesTreeLikelihood.h.
| AbstractDiscreteRatesAcrossSitesTreeLikelihood::AbstractDiscreteRatesAcrossSitesTreeLikelihood | ( | DiscreteDistribution * | rDist, |
| bool | verbose = true |
||
| ) | throw (Exception) |
Definition at line 53 of file AbstractDiscreteRatesAcrossSitesTreeLikelihood.cpp.
References bpp::AbstractTreeLikelihood::enableDerivatives().
| bpp::AbstractDiscreteRatesAcrossSitesTreeLikelihood::AbstractDiscreteRatesAcrossSitesTreeLikelihood | ( | const AbstractDiscreteRatesAcrossSitesTreeLikelihood & | tl | ) | [inline] |
Definition at line 69 of file AbstractDiscreteRatesAcrossSitesTreeLikelihood.h.
| virtual bpp::AbstractDiscreteRatesAcrossSitesTreeLikelihood::~AbstractDiscreteRatesAcrossSitesTreeLikelihood | ( | ) | [inline, virtual] |
Definition at line 83 of file AbstractDiscreteRatesAcrossSitesTreeLikelihood.h.
| TreeLikelihood* bpp::TreeLikelihood::clone | ( | ) | const [pure virtual, inherited] |
Implements bpp::DerivableSecondOrder.
Implemented in bpp::NNIHomogeneousTreeLikelihood, bpp::RNonHomogeneousMixedTreeLikelihood, bpp::RNonHomogeneousTreeLikelihood, bpp::RHomogeneousTreeLikelihood, bpp::DRHomogeneousMixedTreeLikelihood, bpp::DRNonHomogeneousTreeLikelihood, bpp::DRHomogeneousTreeLikelihood, bpp::TwoTreeLikelihood, bpp::RHomogeneousMixedTreeLikelihood, bpp::RHomogeneousClockTreeLikelihood, bpp::DRTreeLikelihood, bpp::DiscreteRatesAcrossSitesClockTreeLikelihood, bpp::NonHomogeneousTreeLikelihood, bpp::ClockTreeLikelihood, bpp::HomogeneousTreeLikelihood, and bpp::SitePartitionHomogeneousTreeLikelihood.
| void AbstractDiscreteRatesAcrossSitesTreeLikelihood::displayLikelihoodArray | ( | const VVVdouble & | likelihoodArray | ) | [static] |
Print the likelihood array to terminal (debugging tool).
| likelihoodArray | the likelihood array. |
Definition at line 287 of file AbstractDiscreteRatesAcrossSitesTreeLikelihood.cpp.
Referenced by bpp::DRHomogeneousTreeLikelihood::displayLikelihood(), bpp::DRNonHomogeneousTreeLikelihood::displayLikelihood(), bpp::RHomogeneousTreeLikelihood::displayLikelihood(), and bpp::RNonHomogeneousTreeLikelihood::displayLikelihood().
| void bpp::AbstractTreeLikelihood::enableDerivatives | ( | bool | yn | ) | [inline, virtual, inherited] |
Tell if derivatives must be computed.
This methods calls the enableFirstOrderDerivatives and enableSecondOrderDerivatives.
| yn | Yes or no. |
Implements bpp::TreeLikelihood.
Definition at line 293 of file AbstractTreeLikelihood.h.
References bpp::AbstractTreeLikelihood::computeFirstOrderDerivatives_, and bpp::AbstractTreeLikelihood::computeSecondOrderDerivatives_.
Referenced by AbstractDiscreteRatesAcrossSitesTreeLikelihood(), and bpp::DistanceEstimation::computeMatrix().
| void bpp::AbstractTreeLikelihood::enableFirstOrderDerivatives | ( | bool | yn | ) | [inline, virtual, inherited] |
Implements bpp::DerivableSecondOrder.
Definition at line 294 of file AbstractTreeLikelihood.h.
References bpp::AbstractTreeLikelihood::computeFirstOrderDerivatives_.
| bool bpp::AbstractTreeLikelihood::enableFirstOrderDerivatives | ( | ) | const [inline, virtual, inherited] |
Implements bpp::DerivableSecondOrder.
Definition at line 296 of file AbstractTreeLikelihood.h.
References bpp::AbstractTreeLikelihood::computeFirstOrderDerivatives_.
| void bpp::AbstractTreeLikelihood::enableSecondOrderDerivatives | ( | bool | yn | ) | [inline, virtual, inherited] |
Implements bpp::DerivableSecondOrder.
Definition at line 295 of file AbstractTreeLikelihood.h.
References bpp::AbstractTreeLikelihood::computeFirstOrderDerivatives_, and bpp::AbstractTreeLikelihood::computeSecondOrderDerivatives_.
| bool bpp::AbstractTreeLikelihood::enableSecondOrderDerivatives | ( | ) | const [inline, virtual, inherited] |
Implements bpp::DerivableSecondOrder.
Definition at line 297 of file AbstractTreeLikelihood.h.
References bpp::AbstractTreeLikelihood::computeSecondOrderDerivatives_.
| const Alphabet* bpp::AbstractTreeLikelihood::getAlphabet | ( | ) | const [inline, virtual, inherited] |
Get the alphabet associated to the dataset.
Implements bpp::TreeLikelihood.
Definition at line 285 of file AbstractTreeLikelihood.h.
References bpp::AbstractTreeLikelihood::data_, and bpp::SiteContainer::getAlphabet().
| virtual ParameterList bpp::TreeLikelihood::getBranchLengthsParameters | ( | ) | const [pure virtual, inherited] |
Get the branch lengths parameters.
Implemented in bpp::AbstractNonHomogeneousTreeLikelihood, bpp::AbstractHomogeneousTreeLikelihood, and bpp::TwoTreeLikelihood.
Referenced by bpp::OptimizationTools::ScaleFunction::ScaleFunction().
| const SiteContainer* bpp::AbstractTreeLikelihood::getData | ( | ) | const [inline, virtual, inherited] |
Get the dataset for which the likelihood must be evaluated.
Implements bpp::TreeLikelihood.
Definition at line 284 of file AbstractTreeLikelihood.h.
References bpp::AbstractTreeLikelihood::data_.
Referenced by bpp::RNonHomogeneousMixedTreeLikelihood::init().
| ParameterList AbstractDiscreteRatesAcrossSitesTreeLikelihood::getDerivableParameters | ( | ) | const [virtual] |
All derivable parameters.
Usually, this contains all branch lengths parameters.
Implements bpp::TreeLikelihood.
Reimplemented in bpp::RHomogeneousClockTreeLikelihood.
Definition at line 73 of file AbstractDiscreteRatesAcrossSitesTreeLikelihood.cpp.
| virtual double bpp::TreeLikelihood::getLikelihood | ( | ) | const [pure virtual, inherited] |
Get the likelihood for the whole dataset.
Implemented in bpp::RNonHomogeneousTreeLikelihood, bpp::RHomogeneousTreeLikelihood, bpp::DRNonHomogeneousTreeLikelihood, bpp::TwoTreeLikelihood, bpp::DRHomogeneousTreeLikelihood, and bpp::DRHomogeneousMixedTreeLikelihood.
| virtual TreeLikelihoodData* bpp::TreeLikelihood::getLikelihoodData | ( | ) | [pure virtual, inherited] |
Implemented in bpp::RHomogeneousTreeLikelihood, bpp::RNonHomogeneousTreeLikelihood, bpp::DRNonHomogeneousTreeLikelihood, bpp::DRHomogeneousTreeLikelihood, bpp::TwoTreeLikelihood, and bpp::DRTreeLikelihood.
| virtual const TreeLikelihoodData* bpp::TreeLikelihood::getLikelihoodData | ( | ) | const [pure virtual, inherited] |
Implemented in bpp::RHomogeneousTreeLikelihood, bpp::RNonHomogeneousTreeLikelihood, bpp::DRNonHomogeneousTreeLikelihood, bpp::DRHomogeneousTreeLikelihood, bpp::TwoTreeLikelihood, and bpp::DRTreeLikelihood.
| virtual double bpp::TreeLikelihood::getLikelihoodForASite | ( | size_t | site | ) | const [pure virtual, inherited] |
Get the likelihood for a site.
| site | The site index to analyse. |
Implemented in bpp::RNonHomogeneousTreeLikelihood, bpp::RHomogeneousTreeLikelihood, bpp::DRNonHomogeneousTreeLikelihood, bpp::TwoTreeLikelihood, and bpp::DRHomogeneousTreeLikelihood.
Referenced by bpp::AbstractTreeLikelihood::getLikelihoodForEachSite().
| virtual double bpp::DiscreteRatesAcrossSitesTreeLikelihood::getLikelihoodForASiteForARateClass | ( | size_t | site, |
| size_t | rateClass | ||
| ) | const [pure virtual, inherited] |
Get the likelihood for a site knowing its rate class.
| site | The site index. |
| rateClass | The rate class index. |
Implemented in bpp::RNonHomogeneousTreeLikelihood, bpp::RHomogeneousTreeLikelihood, bpp::TwoTreeLikelihood, bpp::DRNonHomogeneousTreeLikelihood, bpp::DRHomogeneousTreeLikelihood, and bpp::RHomogeneousMixedTreeLikelihood.
| virtual double bpp::DiscreteRatesAcrossSitesTreeLikelihood::getLikelihoodForASiteForARateClassForAState | ( | size_t | site, |
| size_t | rateClass, | ||
| int | state | ||
| ) | const [pure virtual, inherited] |
Get the likelihood for a site knowing its rate class and its ancestral state.
| site | The site index. |
| rateClass | The rate class index. |
| state | The ancestral state. |
Implemented in bpp::RNonHomogeneousTreeLikelihood, bpp::RHomogeneousTreeLikelihood, bpp::TwoTreeLikelihood, bpp::DRNonHomogeneousTreeLikelihood, bpp::DRHomogeneousTreeLikelihood, and bpp::RHomogeneousMixedTreeLikelihood.
| double AbstractDiscreteRatesAcrossSitesTreeLikelihood::getLikelihoodForASiteForAState | ( | size_t | site, |
| int | state | ||
| ) | const [virtual] |
Get the likelihood for a site and for a state.
| site | The site index to analyse. |
| state | The state to consider. |
Implements bpp::TreeLikelihood.
Definition at line 111 of file AbstractDiscreteRatesAcrossSitesTreeLikelihood.cpp.
| Vdouble AbstractTreeLikelihood::getLikelihoodForEachSite | ( | ) | const [virtual, inherited] |
Get the likelihood for each site.
Implements bpp::TreeLikelihood.
Definition at line 46 of file AbstractTreeLikelihood.cpp.
References bpp::TreeLikelihood::getLikelihoodForASite(), and bpp::AbstractTreeLikelihood::getNumberOfSites().
| VVdouble AbstractDiscreteRatesAcrossSitesTreeLikelihood::getLikelihoodForEachSiteForEachRateClass | ( | ) | const [virtual] |
Get the likelihood for each site and each rate class.
Implements bpp::DiscreteRatesAcrossSitesTreeLikelihood.
Definition at line 93 of file AbstractDiscreteRatesAcrossSitesTreeLikelihood.cpp.
| VVVdouble AbstractDiscreteRatesAcrossSitesTreeLikelihood::getLikelihoodForEachSiteForEachRateClassForEachState | ( | ) | const [virtual] |
Get the likelihood for each site and each rate class and each state.
Implements bpp::DiscreteRatesAcrossSitesTreeLikelihood.
Definition at line 156 of file AbstractDiscreteRatesAcrossSitesTreeLikelihood.cpp.
| VVdouble AbstractTreeLikelihood::getLikelihoodForEachSiteForEachState | ( | ) | const [virtual, inherited] |
Get the likelihood for each site and for each state.
Implements bpp::TreeLikelihood.
Definition at line 64 of file AbstractTreeLikelihood.cpp.
References bpp::TreeLikelihood::getLikelihoodForASiteForAState(), bpp::AbstractTreeLikelihood::getNumberOfSites(), and bpp::AbstractTreeLikelihood::getNumberOfStates().
| virtual double bpp::TreeLikelihood::getLogLikelihood | ( | ) | const [pure virtual, inherited] |
Get the logarithm of the likelihood for the whole dataset.
Implemented in bpp::RNonHomogeneousTreeLikelihood, bpp::RHomogeneousTreeLikelihood, bpp::DRNonHomogeneousTreeLikelihood, bpp::TwoTreeLikelihood, bpp::DRHomogeneousTreeLikelihood, and bpp::DRHomogeneousMixedTreeLikelihood.
| virtual double bpp::TreeLikelihood::getLogLikelihoodForASite | ( | size_t | site | ) | const [pure virtual, inherited] |
Get the logarithm of the likelihood for a site.
| site | The site index to analyse. |
Implemented in bpp::RNonHomogeneousTreeLikelihood, bpp::RHomogeneousTreeLikelihood, bpp::DRNonHomogeneousTreeLikelihood, bpp::TwoTreeLikelihood, and bpp::DRHomogeneousTreeLikelihood.
Referenced by bpp::AbstractTreeLikelihood::getLogLikelihoodForEachSite().
| virtual double bpp::DiscreteRatesAcrossSitesTreeLikelihood::getLogLikelihoodForASiteForARateClass | ( | size_t | site, |
| size_t | rateClass | ||
| ) | const [pure virtual, inherited] |
Get the logarithm of the likelihood for a site knowing its rate class.
| site | The site index. |
| rateClass | The rate class index. |
Implemented in bpp::RNonHomogeneousTreeLikelihood, bpp::RHomogeneousTreeLikelihood, bpp::TwoTreeLikelihood, bpp::DRNonHomogeneousTreeLikelihood, bpp::DRHomogeneousTreeLikelihood, and bpp::RHomogeneousMixedTreeLikelihood.
| virtual double bpp::DiscreteRatesAcrossSitesTreeLikelihood::getLogLikelihoodForASiteForARateClassForAState | ( | size_t | site, |
| size_t | rateClass, | ||
| int | state | ||
| ) | const [pure virtual, inherited] |
Get the logarithm of the likelihood for a site knowing its rate class and its ancestral state.
| site | The site index. |
| rateClass | The rate class index. |
| state | The ancestral state. |
Implemented in bpp::RNonHomogeneousTreeLikelihood, bpp::RHomogeneousTreeLikelihood, bpp::TwoTreeLikelihood, bpp::DRNonHomogeneousTreeLikelihood, bpp::DRHomogeneousTreeLikelihood, and bpp::RHomogeneousMixedTreeLikelihood.
| double AbstractDiscreteRatesAcrossSitesTreeLikelihood::getLogLikelihoodForASiteForAState | ( | size_t | site, |
| int | state | ||
| ) | const [virtual] |
Get the logarithm of the likelihood for a site and for a state.
| site | The site index to analyse. |
| state | The state to consider. |
Implements bpp::TreeLikelihood.
Definition at line 124 of file AbstractDiscreteRatesAcrossSitesTreeLikelihood.cpp.
| Vdouble AbstractTreeLikelihood::getLogLikelihoodForEachSite | ( | ) | const [virtual, inherited] |
Get the logarithm of the likelihood for each site.
Implements bpp::TreeLikelihood.
Definition at line 55 of file AbstractTreeLikelihood.cpp.
References bpp::TreeLikelihood::getLogLikelihoodForASite(), and bpp::AbstractTreeLikelihood::getNumberOfSites().
| VVdouble AbstractDiscreteRatesAcrossSitesTreeLikelihood::getLogLikelihoodForEachSiteForEachRateClass | ( | ) | const [virtual] |
Get the logarithm of the likelihood for each site and each rate class.
V[i][j] = likelihood of site i and rate class j. Implements bpp::DiscreteRatesAcrossSitesTreeLikelihood.
Definition at line 138 of file AbstractDiscreteRatesAcrossSitesTreeLikelihood.cpp.
| VVVdouble AbstractDiscreteRatesAcrossSitesTreeLikelihood::getLogLikelihoodForEachSiteForEachRateClassForEachState | ( | ) | const [virtual] |
Get the logarithm of the likelihood for each site and each rate class and each state.
V[i][j][k} = likelihood of site i and rate class j and state k. Implements bpp::DiscreteRatesAcrossSitesTreeLikelihood.
Definition at line 179 of file AbstractDiscreteRatesAcrossSitesTreeLikelihood.cpp.
| VVdouble AbstractTreeLikelihood::getLogLikelihoodForEachSiteForEachState | ( | ) | const [virtual, inherited] |
Get the logarithm of the likelihood for each site and for each state.
Implements bpp::TreeLikelihood.
Definition at line 81 of file AbstractTreeLikelihood.cpp.
References bpp::TreeLikelihood::getLogLikelihoodForASiteForAState(), bpp::AbstractTreeLikelihood::getNumberOfSites(), and bpp::AbstractTreeLikelihood::getNumberOfStates().
| virtual ConstBranchModelIterator* bpp::TreeLikelihood::getNewBranchModelIterator | ( | int | nodeId | ) | const [pure virtual, inherited] |
| virtual ConstSiteModelIterator* bpp::TreeLikelihood::getNewSiteModelIterator | ( | size_t | siteIndex | ) | const [pure virtual, inherited] |
| ParameterList AbstractDiscreteRatesAcrossSitesTreeLikelihood::getNonDerivableParameters | ( | ) | const [virtual] |
All non derivable parameters.
Usually, this contains all substitution model parameters and rate distribution.
Implements bpp::TreeLikelihood.
Reimplemented in bpp::RHomogeneousClockTreeLikelihood.
Definition at line 82 of file AbstractDiscreteRatesAcrossSitesTreeLikelihood.cpp.
References bpp::ParameterList::addParameters().
| size_t bpp::AbstractDiscreteRatesAcrossSitesTreeLikelihood::getNumberOfClasses | ( | ) | const [inline, virtual] |
Get the number of classes.
Implements bpp::DiscreteRatesAcrossSitesTreeLikelihood.
Definition at line 108 of file AbstractDiscreteRatesAcrossSitesTreeLikelihood.h.
References bpp::DiscreteDistribution::getNumberOfCategories(), and rateDistribution_.
| size_t bpp::AbstractTreeLikelihood::getNumberOfSites | ( | ) | const [inline, virtual, inherited] |
Get the number of sites in the dataset.
Implements bpp::TreeLikelihood.
Definition at line 290 of file AbstractTreeLikelihood.h.
References bpp::AbstractTreeLikelihood::data_, and bpp::SiteContainer::getNumberOfSites().
Referenced by bpp::AbstractTreeLikelihood::getLikelihoodForEachSite(), bpp::AbstractTreeLikelihood::getLikelihoodForEachSiteForEachState(), bpp::AbstractTreeLikelihood::getLogLikelihoodForEachSite(), and bpp::AbstractTreeLikelihood::getLogLikelihoodForEachSiteForEachState().
| size_t bpp::AbstractTreeLikelihood::getNumberOfStates | ( | ) | const [inline, virtual, inherited] |
Get the number of states in the alphabet associated to the dataset.
Implements bpp::TreeLikelihood.
Definition at line 291 of file AbstractTreeLikelihood.h.
References bpp::AbstractTreeLikelihood::data_, bpp::SiteContainer::getAlphabet(), and bpp::Alphabet::getSize().
Referenced by bpp::AbstractTreeLikelihood::getLikelihoodForEachSiteForEachState(), and bpp::AbstractTreeLikelihood::getLogLikelihoodForEachSiteForEachState().
| VVdouble AbstractDiscreteRatesAcrossSitesTreeLikelihood::getPosteriorProbabilitiesOfEachRate | ( | ) | const [virtual] |
Get the posterior probability for each site of belonging to a particular rate class.
V[i][j] = probablity for site i of belonging to rate class j. Implements bpp::DiscreteRatesAcrossSitesTreeLikelihood.
Definition at line 202 of file AbstractDiscreteRatesAcrossSitesTreeLikelihood.cpp.
| Vdouble AbstractDiscreteRatesAcrossSitesTreeLikelihood::getPosteriorRateOfEachSite | ( | ) | const [virtual] |
Get the posterior rate, i.e. averaged over all classes and weighted with posterior probabilities, for each site.
Implements bpp::DiscreteRatesAcrossSitesTreeLikelihood.
Definition at line 220 of file AbstractDiscreteRatesAcrossSitesTreeLikelihood.cpp.
| vector< size_t > AbstractDiscreteRatesAcrossSitesTreeLikelihood::getRateClassWithMaxPostProbOfEachSite | ( | ) | const [virtual] |
Get the posterior rate class (the one with maximum posterior probability) for each site.
Implements bpp::DiscreteRatesAcrossSitesTreeLikelihood.
Definition at line 239 of file AbstractDiscreteRatesAcrossSitesTreeLikelihood.cpp.
| const DiscreteDistribution* bpp::AbstractDiscreteRatesAcrossSitesTreeLikelihood::getRateDistribution | ( | ) | const [inline, virtual] |
Get the rate distribution used for the computation.
Implements bpp::DiscreteRatesAcrossSitesTreeLikelihood.
Definition at line 106 of file AbstractDiscreteRatesAcrossSitesTreeLikelihood.h.
References rateDistribution_.
| DiscreteDistribution* bpp::AbstractDiscreteRatesAcrossSitesTreeLikelihood::getRateDistribution | ( | ) | [inline, virtual] |
Get the rate distribution used for the computation.
Implements bpp::DiscreteRatesAcrossSitesTreeLikelihood.
Definition at line 107 of file AbstractDiscreteRatesAcrossSitesTreeLikelihood.h.
References rateDistribution_.
| ParameterList AbstractDiscreteRatesAcrossSitesTreeLikelihood::getRateDistributionParameters | ( | ) | const [virtual] |
Get the parameters associated to the rate distirbution.
Implements bpp::DiscreteRatesAcrossSitesTreeLikelihood.
Reimplemented in bpp::AbstractNonHomogeneousTreeLikelihood, and bpp::AbstractHomogeneousTreeLikelihood.
Definition at line 64 of file AbstractDiscreteRatesAcrossSitesTreeLikelihood.cpp.
| Vdouble AbstractDiscreteRatesAcrossSitesTreeLikelihood::getRateWithMaxPostProbOfEachSite | ( | ) | const [virtual] |
Get the posterior rate (the one with maximum posterior probability) for each site.
Implements bpp::DiscreteRatesAcrossSitesTreeLikelihood.
Definition at line 253 of file AbstractDiscreteRatesAcrossSitesTreeLikelihood.cpp.
| virtual const std::vector<double>& bpp::TreeLikelihood::getRootFrequencies | ( | size_t | siteIndex | ) | const [pure virtual, inherited] |
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.
| siteIndex | The index of the alignment position. |
Implemented in bpp::AbstractNonHomogeneousTreeLikelihood, bpp::AbstractHomogeneousTreeLikelihood, and bpp::TwoTreeLikelihood.
| virtual size_t bpp::TreeLikelihood::getSiteIndex | ( | size_t | site | ) | const throw (IndexOutOfBoundsException) [pure virtual, inherited] |
Get the index (used for inner computations) of a given site (original alignment column).
| site | An alignment position. |
Implemented in bpp::RHomogeneousTreeLikelihood, bpp::RNonHomogeneousTreeLikelihood, bpp::TwoTreeLikelihood, bpp::DRNonHomogeneousTreeLikelihood, and bpp::DRHomogeneousTreeLikelihood.
| virtual const SubstitutionModel* bpp::TreeLikelihood::getSubstitutionModel | ( | int | nodeId, |
| size_t | siteIndex | ||
| ) | const throw (NodeNotFoundException) [pure virtual, inherited] |
Get the substitution model associated to a given node and alignment column.
| nodeId | The id of the request node. |
| siteIndex | The index of the alignment position. |
| NodeNotFoundException | This exception may be thrown if the node is not found (depending on the implementation). |
Implemented in bpp::TwoTreeLikelihood, bpp::NonHomogeneousTreeLikelihood, and bpp::HomogeneousTreeLikelihood.
| virtual SubstitutionModel* bpp::TreeLikelihood::getSubstitutionModel | ( | int | nodeId, |
| size_t | siteIndex | ||
| ) | throw (NodeNotFoundException) [pure virtual, inherited] |
Get the substitution model associated to a given node and alignment column.
| nodeId | The id of the request node. |
| siteIndex | The index of the alignment position. |
| NodeNotFoundException | This exception may be thrown if the node is not found (depending on the implementation). |
Implemented in bpp::TwoTreeLikelihood, bpp::NonHomogeneousTreeLikelihood, and bpp::HomogeneousTreeLikelihood.
| virtual ParameterList bpp::TreeLikelihood::getSubstitutionModelParameters | ( | ) | const [pure virtual, inherited] |
Get the parameters associated to substitution model(s).
Implemented in bpp::AbstractNonHomogeneousTreeLikelihood, bpp::AbstractHomogeneousTreeLikelihood, and bpp::TwoTreeLikelihood.
| VVdouble AbstractDiscreteRatesAcrossSitesTreeLikelihood::getTransitionProbabilities | ( | int | nodeId, |
| size_t | siteIndex | ||
| ) | const [virtual] |
Retrieves all Pij(t) for a particular branch, defined by the upper node and site.
These intermediate results may be used by other methods.
| nodeId | The node defining the branch of interest. |
| siteIndex | The index of the alignment position. |
Implements bpp::TreeLikelihood.
Definition at line 311 of file AbstractDiscreteRatesAcrossSitesTreeLikelihood.cpp.
| virtual VVVdouble bpp::DiscreteRatesAcrossSitesTreeLikelihood::getTransitionProbabilitiesPerRateClass | ( | int | nodeId, |
| size_t | siteIndex | ||
| ) | const [pure virtual, inherited] |
Retrieves all Pij(t) for a particular branch, defined by the upper node.
These intermediate results may be used by other methods.
| nodeId | The node defining the branch of interest. |
| siteIndex | The position in the alignment. |
Implemented in bpp::AbstractNonHomogeneousTreeLikelihood, bpp::AbstractHomogeneousTreeLikelihood, and bpp::TwoTreeLikelihood.
| const Tree& bpp::AbstractTreeLikelihood::getTree | ( | ) | const [inline, virtual, inherited] |
Get the tree (topology and branch lengths).
Implements bpp::TreeLikelihood.
Definition at line 292 of file AbstractTreeLikelihood.h.
References bpp::AbstractTreeLikelihood::tree_.
Referenced by bpp::NNIHomogeneousTreeLikelihood::getTopology(), and bpp::RNonHomogeneousMixedTreeLikelihood::init().
| void bpp::AbstractTreeLikelihood::initialize | ( | ) | throw (Exception) [inline, virtual, inherited] |
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.
| Exception | if something bad happened, for instance if no data are associated to the likelihood function. |
Implements bpp::TreeLikelihood.
Reimplemented in bpp::RNonHomogeneousMixedTreeLikelihood, bpp::DRHomogeneousMixedTreeLikelihood, bpp::AbstractNonHomogeneousTreeLikelihood, bpp::AbstractHomogeneousTreeLikelihood, bpp::TwoTreeLikelihood, and bpp::RHomogeneousMixedTreeLikelihood.
Definition at line 299 of file AbstractTreeLikelihood.h.
References bpp::AbstractTreeLikelihood::initialized_.
| bool bpp::AbstractTreeLikelihood::isInitialized | ( | ) | const [inline, virtual, inherited] |
Implements bpp::TreeLikelihood.
Definition at line 298 of file AbstractTreeLikelihood.h.
References bpp::AbstractTreeLikelihood::initialized_.
Referenced by bpp::DRHomogeneousTreeLikelihood::getValue(), bpp::DRNonHomogeneousTreeLikelihood::getValue(), bpp::RHomogeneousTreeLikelihood::getValue(), and bpp::RNonHomogeneousTreeLikelihood::getValue().
| AbstractDiscreteRatesAcrossSitesTreeLikelihood& bpp::AbstractDiscreteRatesAcrossSitesTreeLikelihood::operator= | ( | const AbstractDiscreteRatesAcrossSitesTreeLikelihood & | tl | ) | [inline] |
Definition at line 75 of file AbstractDiscreteRatesAcrossSitesTreeLikelihood.h.
References rateDistribution_.
| void AbstractDiscreteRatesAcrossSitesTreeLikelihood::resetLikelihoodArray | ( | VVVdouble & | likelihoodArray | ) | [static] |
Set all conditional likelihoods to 1.
| likelihoodArray | the likelihood array. |
Definition at line 267 of file AbstractDiscreteRatesAcrossSitesTreeLikelihood.cpp.
Referenced by bpp::DRHomogeneousTreeLikelihood::computeLikelihoodFromArrays(), bpp::DRNonHomogeneousTreeLikelihood::computeLikelihoodFromArrays(), bpp::DRHomogeneousTreeLikelihood::computeRootLikelihood(), bpp::DRNonHomogeneousTreeLikelihood::computeRootLikelihood(), bpp::DRHomogeneousTreeLikelihood::computeSubtreeLikelihoodPrefix(), bpp::DRNonHomogeneousTreeLikelihood::computeSubtreeLikelihoodPrefix(), bpp::DRHomogeneousTreeLikelihood::resetLikelihoodArrays(), and bpp::DRNonHomogeneousTreeLikelihood::resetLikelihoodArrays().
| virtual void bpp::TreeLikelihood::setData | ( | const SiteContainer & | sites | ) | [pure virtual, inherited] |
Set the dataset for which the likelihood must be evaluated.
| sites | The data set to use. |
Implemented in bpp::NNIHomogeneousTreeLikelihood, bpp::RNonHomogeneousMixedTreeLikelihood, bpp::RNonHomogeneousTreeLikelihood, bpp::RHomogeneousTreeLikelihood, bpp::TwoTreeLikelihood, bpp::DRNonHomogeneousTreeLikelihood, bpp::DRHomogeneousTreeLikelihood, bpp::DRHomogeneousMixedTreeLikelihood, and bpp::RHomogeneousMixedTreeLikelihood.
bool bpp::AbstractTreeLikelihood::computeFirstOrderDerivatives_ [protected, inherited] |
Definition at line 227 of file AbstractTreeLikelihood.h.
Referenced by bpp::AbstractHomogeneousTreeLikelihood::computeTransitionProbabilitiesForNode(), bpp::AbstractNonHomogeneousTreeLikelihood::computeTransitionProbabilitiesForNode(), bpp::RNonHomogeneousMixedTreeLikelihood::computeTransitionProbabilitiesForNode(), bpp::AbstractTreeLikelihood::enableDerivatives(), bpp::AbstractTreeLikelihood::enableFirstOrderDerivatives(), bpp::AbstractTreeLikelihood::enableSecondOrderDerivatives(), bpp::DRHomogeneousTreeLikelihood::fireParameterChanged(), bpp::DRNonHomogeneousTreeLikelihood::fireParameterChanged(), bpp::TwoTreeLikelihood::fireParameterChanged(), and bpp::AbstractTreeLikelihood::operator=().
bool bpp::AbstractTreeLikelihood::computeSecondOrderDerivatives_ [protected, inherited] |
Definition at line 228 of file AbstractTreeLikelihood.h.
Referenced by bpp::AbstractHomogeneousTreeLikelihood::computeTransitionProbabilitiesForNode(), bpp::AbstractNonHomogeneousTreeLikelihood::computeTransitionProbabilitiesForNode(), bpp::RNonHomogeneousMixedTreeLikelihood::computeTransitionProbabilitiesForNode(), bpp::AbstractTreeLikelihood::enableDerivatives(), bpp::AbstractTreeLikelihood::enableSecondOrderDerivatives(), bpp::DRHomogeneousTreeLikelihood::fireParameterChanged(), bpp::DRNonHomogeneousTreeLikelihood::fireParameterChanged(), bpp::TwoTreeLikelihood::fireParameterChanged(), and bpp::AbstractTreeLikelihood::operator=().
const SiteContainer* bpp::AbstractTreeLikelihood::data_ [protected, inherited] |
Definition at line 225 of file AbstractTreeLikelihood.h.
Referenced by bpp::AbstractTreeLikelihood::AbstractTreeLikelihood(), bpp::AbstractTreeLikelihood::getAlphabet(), bpp::AbstractTreeLikelihood::getData(), bpp::AbstractTreeLikelihood::getNumberOfSites(), bpp::AbstractTreeLikelihood::getNumberOfStates(), bpp::AbstractHomogeneousTreeLikelihood::initialize(), bpp::AbstractNonHomogeneousTreeLikelihood::initialize(), bpp::AbstractTreeLikelihood::operator=(), and bpp::AbstractTreeLikelihood::~AbstractTreeLikelihood().
bool bpp::AbstractTreeLikelihood::initialized_ [protected, inherited] |
Definition at line 229 of file AbstractTreeLikelihood.h.
Referenced by bpp::AbstractHomogeneousTreeLikelihood::applyParameters(), bpp::AbstractNonHomogeneousTreeLikelihood::applyParameters(), bpp::TwoTreeLikelihood::getBranchLengthsParameters(), bpp::AbstractHomogeneousTreeLikelihood::getBranchLengthsParameters(), bpp::AbstractNonHomogeneousTreeLikelihood::getBranchLengthsParameters(), bpp::TwoTreeLikelihood::getSubstitutionModelParameters(), bpp::AbstractHomogeneousTreeLikelihood::getSubstitutionModelParameters(), bpp::AbstractNonHomogeneousTreeLikelihood::getSubstitutionModelParameters(), bpp::TwoTreeLikelihood::initialize(), bpp::AbstractHomogeneousTreeLikelihood::initialize(), bpp::AbstractNonHomogeneousTreeLikelihood::initialize(), bpp::AbstractTreeLikelihood::initialize(), bpp::AbstractTreeLikelihood::isInitialized(), and bpp::AbstractTreeLikelihood::operator=().
DiscreteDistribution* bpp::AbstractDiscreteRatesAcrossSitesTreeLikelihood::rateDistribution_ [protected] |
Definition at line 61 of file AbstractDiscreteRatesAcrossSitesTreeLikelihood.h.
Referenced by bpp::AbstractHomogeneousTreeLikelihood::applyParameters(), bpp::AbstractNonHomogeneousTreeLikelihood::applyParameters(), bpp::TwoTreeLikelihood::applyParameters(), bpp::DRHomogeneousTreeLikelihood::computeRootLikelihood(), bpp::DRNonHomogeneousTreeLikelihood::computeRootLikelihood(), bpp::AbstractHomogeneousTreeLikelihood::computeTransitionProbabilitiesForNode(), bpp::AbstractNonHomogeneousTreeLikelihood::computeTransitionProbabilitiesForNode(), bpp::RNonHomogeneousMixedTreeLikelihood::computeTransitionProbabilitiesForNode(), bpp::TwoTreeLikelihood::computeTreeD2Likelihood(), bpp::DRHomogeneousTreeLikelihood::computeTreeD2LikelihoodAtNode(), bpp::DRNonHomogeneousTreeLikelihood::computeTreeD2LikelihoodAtNode(), bpp::TwoTreeLikelihood::computeTreeDLikelihood(), bpp::DRHomogeneousTreeLikelihood::computeTreeDLikelihoodAtNode(), bpp::DRNonHomogeneousTreeLikelihood::computeTreeDLikelihoodAtNode(), bpp::TwoTreeLikelihood::computeTreeLikelihood(), bpp::DRHomogeneousTreeLikelihood::fireParameterChanged(), bpp::DRNonHomogeneousTreeLikelihood::fireParameterChanged(), bpp::RHomogeneousTreeLikelihood::fireParameterChanged(), bpp::RNonHomogeneousTreeLikelihood::fireParameterChanged(), bpp::TwoTreeLikelihood::fireParameterChanged(), bpp::RNonHomogeneousMixedTreeLikelihood::fireParameterChanged(), bpp::RNonHomogeneousTreeLikelihood::getD2LikelihoodForASite(), bpp::RHomogeneousTreeLikelihood::getD2LikelihoodForASite(), bpp::RNonHomogeneousTreeLikelihood::getDLikelihoodForASite(), bpp::RHomogeneousTreeLikelihood::getDLikelihoodForASite(), bpp::RHomogeneousTreeLikelihood::getLikelihoodForASite(), bpp::RNonHomogeneousTreeLikelihood::getLikelihoodForASite(), bpp::RHomogeneousTreeLikelihood::getLogLikelihoodForASite(), bpp::RNonHomogeneousTreeLikelihood::getLogLikelihoodForASite(), getNumberOfClasses(), getRateDistribution(), bpp::RNonHomogeneousMixedTreeLikelihood::init(), bpp::AbstractHomogeneousTreeLikelihood::initParameters(), bpp::AbstractNonHomogeneousTreeLikelihood::initParameters(), bpp::TwoTreeLikelihood::initParameters(), and operator=().
TreeTemplate<Node>* bpp::AbstractTreeLikelihood::tree_ [mutable, protected, inherited] |
Definition at line 226 of file AbstractTreeLikelihood.h.
Referenced by bpp::AbstractHomogeneousTreeLikelihood::AbstractHomogeneousTreeLikelihood(), bpp::AbstractNonHomogeneousTreeLikelihood::AbstractNonHomogeneousTreeLikelihood(), bpp::AbstractTreeLikelihood::AbstractTreeLikelihood(), bpp::DRHomogeneousTreeLikelihood::computeLikelihoodAtNode(), bpp::DRNonHomogeneousTreeLikelihood::computeLikelihoodAtNode(), bpp::DRHomogeneousTreeLikelihood::computeRootLikelihood(), bpp::DRNonHomogeneousTreeLikelihood::computeRootLikelihood(), bpp::RNonHomogeneousTreeLikelihood::computeTreeD2Likelihood(), bpp::RNonHomogeneousMixedTreeLikelihood::computeTreeD2Likelihood(), bpp::RNonHomogeneousTreeLikelihood::computeTreeDLikelihood(), bpp::RNonHomogeneousMixedTreeLikelihood::computeTreeDLikelihood(), bpp::DRHomogeneousTreeLikelihood::computeTreeLikelihood(), bpp::DRNonHomogeneousTreeLikelihood::computeTreeLikelihood(), bpp::RNonHomogeneousTreeLikelihood::computeTreeLikelihood(), bpp::RHomogeneousTreeLikelihood::computeTreeLikelihood(), bpp::DRHomogeneousTreeLikelihood::DRHomogeneousTreeLikelihood(), bpp::DRNonHomogeneousTreeLikelihood::DRNonHomogeneousTreeLikelihood(), bpp::DRNonHomogeneousTreeLikelihood::fireParameterChanged(), bpp::RNonHomogeneousTreeLikelihood::fireParameterChanged(), bpp::RNonHomogeneousMixedTreeLikelihood::fireParameterChanged(), bpp::RNonHomogeneousTreeLikelihood::getD2LikelihoodForASiteForARateClass(), bpp::RHomogeneousTreeLikelihood::getD2LikelihoodForASiteForARateClass(), bpp::RNonHomogeneousTreeLikelihood::getDLikelihoodForASiteForARateClass(), bpp::RHomogeneousTreeLikelihood::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::AbstractTreeLikelihood::getTree(), bpp::DRHomogeneousTreeLikelihood::operator=(), bpp::DRNonHomogeneousTreeLikelihood::operator=(), bpp::AbstractHomogeneousTreeLikelihood::operator=(), bpp::RHomogeneousTreeLikelihood::operator=(), bpp::RNonHomogeneousTreeLikelihood::operator=(), bpp::AbstractNonHomogeneousTreeLikelihood::operator=(), bpp::AbstractTreeLikelihood::operator=(), bpp::RHomogeneousTreeLikelihood::RHomogeneousTreeLikelihood(), bpp::RNonHomogeneousTreeLikelihood::RNonHomogeneousTreeLikelihood(), and bpp::AbstractTreeLikelihood::~AbstractTreeLikelihood().