public class AncestralJointDP extends AncestralJoint
Modifier and Type | Method and Description |
---|---|
Alignment |
calculate(Parameters params)
Calculates the reconstruction
|
static void |
realType(RealFactory.RealType type)
Sets the real type to be used during calculations, either
SmallDouble
or StandardDouble |
newInstance, newInstance, newInstance, newInstance
public Alignment calculate(Parameters params) throws RateCategory.RateException, Model.ModelException, AncestralException, TreeException, Parameters.ParameterException, AlignmentException
AncestralJoint
calculate
in class AncestralJoint
params
- 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 alignmentpublic static void realType(RealFactory.RealType type)
SmallDouble
or StandardDouble
type
- The double type to useSiteLikelihood.realType(Maths.RealFactory.RealType)