use of dr.evomodel.tree.TipHeightLikelihood in project beast-mcmc by beast-dev.
the class TipHeightLikelihoodParser method parseXMLObject.
public Object parseXMLObject(XMLObject xo) throws XMLParseException {
ParametricDistributionModel model = (ParametricDistributionModel) xo.getElementFirstChild(DISTRIBUTION);
Parameter tipHeights = (Parameter) xo.getElementFirstChild(TIP_HEIGHTS);
return new TipHeightLikelihood(model, tipHeights);
}
Aggregations