|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectLikelihood.Likelihood
public class Likelihood
Stores the results of a likelihood calculation. As well as the overall likelihood it stores the likelihood of each site and also of each missing site.
Nested Class Summary | |
---|---|
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 |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public double getLikelihood()
public Likelihood.SiteLikelihood getSiteLikelihood(Site s) throws Likelihood.LikelihoodException
s
- The site to return the likelihood results for
Likelihood.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 for
Likelihood.LikelihoodException
- Thrown if no likelihood
has been calculated for the given sitepublic Parameters getParameters()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |