use of dr.evomodel.continuous.BifractionalDiffusionModel in project beast-mcmc by beast-dev.
the class BifractionalDiffusionModelParser method parseXMLObject.
public Object parseXMLObject(XMLObject xo) throws XMLParseException {
XMLObject cxo = xo.getChild(ALPHA_PARAMETER);
Parameter alpha = (Parameter) cxo.getChild(Parameter.class);
cxo = xo.getChild(BETA_PARAMETER);
Parameter beta = (Parameter) cxo.getChild(Parameter.class);
return new BifractionalDiffusionModel(alpha, beta);
}
Aggregations