use of dr.inference.model.ExponentialStatistic in project beast-mcmc by beast-dev.
the class ExponentialStatisticParser method parseXMLObject.
public Object parseXMLObject(XMLObject xo) throws XMLParseException {
ExponentialStatistic expStatistic = null;
Object child = xo.getChild(0);
if (child instanceof Statistic) {
expStatistic = new ExponentialStatistic(EXPONENTIAL_STATISTIC, (Statistic) child);
} else {
throw new XMLParseException("Unknown element found in " + getParserName() + " element:" + child);
}
return expStatistic;
}
Aggregations