use of dr.evomodel.speciation.MultiSpeciesCoalescent in project beast-mcmc by beast-dev.
the class MultiSpeciesCoalescentParser method parseXMLObject.
public Object parseXMLObject(XMLObject xo) throws XMLParseException {
final SpeciesBindings sb = (SpeciesBindings) xo.getChild(SpeciesBindings.class);
final SpeciesTreeModel tree = (SpeciesTreeModel) xo.getChild(SpeciesTreeModel.class);
return new MultiSpeciesCoalescent(sb, tree);
}
Aggregations