public interface Root
Modifier and Type | Method and Description |
---|---|
Real |
calculate(SiteLikelihood.NodeLikelihood root)
Calculate the total likelihood from the root node likelihood
|
double |
getFreq(java.lang.String state)
Get the frequency of the given state at the root
|
Real calculate(SiteLikelihood.NodeLikelihood root)
root
- The root node likelihooddouble getFreq(java.lang.String state) throws RateCategory.RateException
state
- The state to get the frequency ofRateCategory.RateException
- If the frequency is not independent
of the root likelihoods (as in the case of FitzJohn et al 2009).