use of dr.evomodel.alloppnet.operators.MulTreeSequenceReassignment in project beast-mcmc by beast-dev.
the class MulTreeSequenceReassignmentParser method parseXMLObject.
@Override
public Object parseXMLObject(XMLObject xo) throws XMLParseException {
MulSpeciesBindings mulspb = (MulSpeciesBindings) xo.getChild(MulSpeciesBindings.class);
MulSpeciesTreeModel multree = (MulSpeciesTreeModel) xo.getChild(MulSpeciesTreeModel.class);
final double weight = xo.getDoubleAttribute(MCMCOperator.WEIGHT);
return new MulTreeSequenceReassignment(multree, mulspb, weight);
}
Aggregations