use of dr.evomodel.alloppnet.speciation.MulSpeciesTreePrior in project beast-mcmc by beast-dev.
the class MulSpeciesTreePriorParser method parseXMLObject.
@Override
public Object parseXMLObject(XMLObject xo) throws XMLParseException {
final XMLObject mxo = xo.getChild(MODEL);
final SpeciationModel sppm = (SpeciationModel) mxo.getChild(SpeciationModel.class);
final XMLObject mulsptxo = xo.getChild(MUL_SPECIES_TREE);
final MulSpeciesTreeModel mulspt = (MulSpeciesTreeModel) mulsptxo.getChild(MulSpeciesTreeModel.class);
return new MulSpeciesTreePrior(sppm, mulspt);
}
Aggregations