use of dr.inference.operators.NegationOperator in project beast-mcmc by beast-dev.
the class NegationOperatorParser method parseXMLObject.
@Override
public Object parseXMLObject(XMLObject xo) throws XMLParseException {
Parameter data = (Parameter) xo.getChild(Parameter.class);
double weight = xo.getDoubleAttribute(WEIGHT);
return new NegationOperator(data, weight);
}
Aggregations