bpp-phyl3
3.0.0
|
The PhyloLikelihoodContainer, owns and assigns numbers to Phylolikelihoods. More...
#include <Bpp/Phyl/Likelihood/PhyloLikelihoods/PhyloLikelihoodContainer.h>
Public Member Functions | |
PhyloLikelihoodContainer (Context &context, std::shared_ptr< SubstitutionProcessCollection > sColl) | |
PhyloLikelihoodContainer (Context &context, std::shared_ptr< CollectionNodes > sColl) | |
PhyloLikelihoodContainer * | clone () const override |
virtual | ~PhyloLikelihoodContainer () |
Abstract class destructor. More... | |
void | addPhyloLikelihood (size_t pos, std::shared_ptr< PhyloLikelihoodInterface > Ap) |
bool | hasPhyloLikelihood (size_t pos) const |
std::shared_ptr< const PhyloLikelihoodInterface > | operator[] (size_t pos) const |
std::shared_ptr< PhyloLikelihoodInterface > | operator[] (size_t pos) |
std::shared_ptr< const PhyloLikelihoodInterface > | getPhyloLikelihood (size_t pos) const |
std::shared_ptr< PhyloLikelihoodInterface > | getPhyloLikelihood (size_t pos) |
size_t | getSize () const |
std::vector< size_t > | getNumbersOfPhyloLikelihoods () const |
std::shared_ptr< const CollectionNodes > | getCollectionNodes () const |
Manage Collection Nodes. More... | |
std::shared_ptr< CollectionNodes > | getCollectionNodes () |
void | setData (std::shared_ptr< const AlignmentDataInterface > sites, size_t nPhyl) |
Set the dataset for which the likelihood must be evaluated, iff the pointed PhyloLikelihood is a SingleDataPhyloLikelihood. More... | |
std::shared_ptr< const AlignmentDataInterface > | getData (size_t nPhyl) const |
Get the dataset for which the likelihood must be evaluated. More... | |
Protected Attributes | |
std::map< size_t, std::shared_ptr< PhyloLikelihoodInterface > > | mPhylo_ |
Private Attributes | |
Context & | context_ |
std::shared_ptr< CollectionNodes > | collectionNodes_ |
The PhyloLikelihoodContainer, owns and assigns numbers to Phylolikelihoods.
It owns the PhyloLikelihoods
Definition at line 25 of file PhyloLikelihoodContainer.h.
|
inline |
Definition at line 37 of file PhyloLikelihoodContainer.h.
|
inline |
Definition at line 45 of file PhyloLikelihoodContainer.h.
|
inlinevirtual |
Abstract class destructor.
Definition at line 60 of file PhyloLikelihoodContainer.h.
|
inline |
Definition at line 71 of file PhyloLikelihoodContainer.h.
References mPhylo_, and bpp::TextTools::toString().
|
inlineoverridevirtual |
Implements bpp::Clonable.
Definition at line 51 of file PhyloLikelihoodContainer.h.
|
inline |
Definition at line 133 of file PhyloLikelihoodContainer.h.
References collectionNodes_.
|
inline |
Manage Collection Nodes.
Definition at line 128 of file PhyloLikelihoodContainer.h.
References collectionNodes_.
|
inline |
Get the dataset for which the likelihood must be evaluated.
Definition at line 162 of file PhyloLikelihoodContainer.h.
References mPhylo_.
|
inline |
Definition at line 112 of file PhyloLikelihoodContainer.h.
References mPhylo_.
Referenced by bpp::PhylogeneticsApplicationTools::printAnalysisInformation().
|
inline |
Definition at line 101 of file PhyloLikelihoodContainer.h.
References mPhylo_.
|
inline |
Definition at line 95 of file PhyloLikelihoodContainer.h.
References mPhylo_.
|
inline |
Definition at line 107 of file PhyloLikelihoodContainer.h.
References mPhylo_.
|
inline |
Definition at line 78 of file PhyloLikelihoodContainer.h.
References mPhylo_.
|
inline |
Definition at line 89 of file PhyloLikelihoodContainer.h.
References mPhylo_.
|
inline |
Definition at line 83 of file PhyloLikelihoodContainer.h.
References mPhylo_.
|
inline |
Set the dataset for which the likelihood must be evaluated, iff the pointed PhyloLikelihood is a SingleDataPhyloLikelihood.
nPhyl | The number of the Likelihood. |
sites | The data set to use. |
Definition at line 145 of file PhyloLikelihoodContainer.h.
References mPhylo_.
|
private |
Definition at line 31 of file PhyloLikelihoodContainer.h.
Referenced by getCollectionNodes().
|
private |
Definition at line 29 of file PhyloLikelihoodContainer.h.
|
protected |
Definition at line 34 of file PhyloLikelihoodContainer.h.
Referenced by addPhyloLikelihood(), getData(), getNumbersOfPhyloLikelihoods(), getPhyloLikelihood(), getSize(), hasPhyloLikelihood(), operator[](), and setData().