public class Likelihood
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Likelihood.LikelihoodException
Exception related to a likelihood calculation
|
static class |
Likelihood.NodeLikelihood
Stores the results of a likelihood claculation for a single node in a tree.
|
static class |
Likelihood.RateLikelihood
Stores the result of the likelihood calculations for a single site and
a single rate class.
|
static class |
Likelihood.SiteLikelihood
Stored the result of a likelihood calculation for a single site
|
Modifier and Type | Method and Description |
---|---|
double |
getLikelihood()
Gets the total likelihood
|
Likelihood.SiteLikelihood |
getMissingLikelihood(Site s)
Gets the likelihood result for a given missing site
|
Parameters |
getParameters()
Gets the parameters used to calculate this likelihood
|
Likelihood.SiteLikelihood |
getSiteLikelihood(Site s)
Gets the likelihood result for a given site
|
public double getLikelihood()
public Likelihood.SiteLikelihood getSiteLikelihood(Site s) throws Likelihood.LikelihoodException
s
- The site to return the likelihood results forLikelihood.LikelihoodException
- Thrown if no likelihood
has been calculated for the given sitepublic Likelihood.SiteLikelihood getMissingLikelihood(Site s) throws Likelihood.LikelihoodException
s
- The missing site to return the likelihood results forLikelihood.LikelihoodException
- Thrown if no likelihood
has been calculated for the given sitepublic Parameters getParameters()