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