Search in sources :

Example 1 with TipHeightLikelihood

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);
}
Also used : TipHeightLikelihood(dr.evomodel.tree.TipHeightLikelihood) ParametricDistributionModel(dr.inference.distribution.ParametricDistributionModel) Parameter(dr.inference.model.Parameter)

Aggregations

TipHeightLikelihood (dr.evomodel.tree.TipHeightLikelihood)1 ParametricDistributionModel (dr.inference.distribution.ParametricDistributionModel)1 Parameter (dr.inference.model.Parameter)1