use of dr.evomodel.coalescent.BayesianSkylinePopSizeStatistic in project beast-mcmc by beast-dev.
the class BayesianSkylinePopSizeStatisticParser method parseXMLObject.
public Object parseXMLObject(XMLObject xo) throws XMLParseException {
double time = xo.getDoubleAttribute(TIME);
BayesianSkylineLikelihood bsl = (BayesianSkylineLikelihood) xo.getChild(BayesianSkylineLikelihood.class);
return new BayesianSkylinePopSizeStatistic(time, bsl);
}
Aggregations