Search in sources :

Example 1 with NotStatistic

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;
}
Also used : NotStatistic(dr.inference.model.NotStatistic) Statistic(dr.inference.model.Statistic) NotStatistic(dr.inference.model.NotStatistic)

Aggregations

NotStatistic (dr.inference.model.NotStatistic)1 Statistic (dr.inference.model.Statistic)1