public static class Likelihood.SiteLikelihood
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
double |
getLikelihood()
Get the likelihood
|
RateCategory |
getMostProbableRateCategory()
Gets the most probable rate category
|
double |
getRateCategoryProbability(RateCategory rc)
Gets the probability of being in a rate category
|
Likelihood.RateLikelihood |
getRateLikelihood(RateCategory rate)
Get the likelihood for a single rate class
|
public double getLikelihood()
public Likelihood.RateLikelihood getRateLikelihood(RateCategory rate) throws Likelihood.LikelihoodException
rate
- Rate class to get the likelihood forLikelihood.LikelihoodException
- Thrown if no likelihood
has been calculated for the given ratepublic double getRateCategoryProbability(RateCategory rc)
rc
- The rate categorypublic RateCategory getMostProbableRateCategory()