public class AncestralJointBB extends AncestralJoint
Modifier and Type | Method and Description |
---|---|
Alignment |
calculate(Parameters p)
Calculates the reconstruction
|
newInstance, newInstance, newInstance, newInstance
public Alignment calculate(Parameters p) throws RateCategory.RateException, Model.ModelException, AncestralException, TreeException, Parameters.ParameterException, AlignmentException, SiteLikelihood.LikelihoodException
AncestralJoint
calculate
in class AncestralJoint
p
- The parameters to be used in the reconstructionRateCategory.RateException
- Thrown if there is an issue with
a rate category in the model (e.g. a badly formatted rate).Model.ModelException
- Thrown if there is a problem with the
model (e.g. the rate categories differ in their states)AncestralException
- Thrown if there is ambiguous data as these methods
can't currently deal with itTreeException
- Thrown if there is a problem with the tree.Parameters.ParameterException
- Thrown if there is a problem
with the parameters (e.g. a required parameter is not present)AlignmentException
- Thrown if there is a problem with the alignmentSiteLikelihood.LikelihoodException
- Thrown if there is a problem initialise likelihoods