use of dr.evomodel.operators.MoveLinkageGroup in project beast-mcmc by beast-dev.
the class MoveLinkageGroupParser method parseXMLObject.
public Object parseXMLObject(XMLObject xo) throws XMLParseException {
final double weight = xo.getDoubleAttribute(MCMCOperator.WEIGHT);
final HiddenLinkageModel hlm = (HiddenLinkageModel) xo.getChild(HiddenLinkageModel.class);
return new MoveLinkageGroup(hlm, weight);
}
Aggregations