public abstract class AncestralJoint
extends java.lang.Object
Constructor and Description |
---|
AncestralJoint() |
Modifier and Type | Method and Description |
---|---|
abstract Alignment |
calculate(Parameters params)
Calculates the reconstruction
|
static AncestralJoint |
newInstance(Model m,
Alignment a,
Tree t)
Returns an object of this class that can be used for joint reconstruction.
|
public abstract Alignment calculate(Parameters params) throws RateCategory.RateException, Model.ModelException, AncestralException, TreeException, Parameters.ParameterException, AlignmentException
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 deasl 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 requied parameter is not present)AlignmentException
- Thrown if there is a problem with the alignmentpublic static AncestralJoint newInstance(Model m, Alignment a, Tree t)
a
- The alignmentm
- The modelt
- The tree