use of dr.evomodel.speciation.BetaSplittingModel in project beast-mcmc by beast-dev.
the class BetaSplittingModelParser method parseXMLObject.
public Object parseXMLObject(XMLObject xo) throws XMLParseException {
XMLObject cxo = xo.getChild(PHI);
Parameter phiParameter = (Parameter) cxo.getChild(Parameter.class);
cxo = xo.getChild(TREE);
Tree tree = (Tree) cxo.getChild(Tree.class);
return new BetaSplittingModel(phiParameter, tree);
}
Aggregations