Specialization of the TreeLikelihood interface for partition models, homogeneous case.
More...
#include <Bpp/Phyl/Legacy/Likelihood/SitePartitionTreeLikelihood.h>
Specialization of the TreeLikelihood interface for partition models, homogeneous case.
These models allow the distinct sites of an alignment to have a different model. The substitution model is however assumed to be the same along the tree. Such models are hence homogeneous in time.
Definition at line 20 of file SitePartitionTreeLikelihood.h.
◆ clone()
◆ getModel() [1/2]
TransitionModel* bpp::SitePartitionHomogeneousTreeLikelihood::getModel |
( |
int |
nodeId, |
|
|
size_t |
siteIndex |
|
) |
| |
|
inline |
◆ getModel() [2/2]
const TransitionModel* bpp::SitePartitionHomogeneousTreeLikelihood::getModel |
( |
int |
nodeId, |
|
|
size_t |
siteIndex |
|
) |
| const |
|
inline |
◆ getModelForSite() [1/2]
virtual const TransitionModel* bpp::SitePartitionHomogeneousTreeLikelihood::getModelForSite |
( |
size_t |
siteIndex | ) |
const |
|
pure virtual |
Get the substitution model associated to a given node.
- Parameters
-
siteIndex | The position in the alignment. |
- Returns
- A pointer toward the corresponding model.
Referenced by getModel().
◆ getModelForSite() [2/2]
virtual TransitionModel* bpp::SitePartitionHomogeneousTreeLikelihood::getModelForSite |
( |
size_t |
siteIndex | ) |
|
|
pure virtual |
Get the substitution model associated to a given node.
- Parameters
-
siteIndex | The position in the alignment. |
- Returns
- A pointer toward the corresponding model.
The documentation for this class was generated from the following file: