Search in sources :

Example 1 with BifractionalDiffusionModel

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);
}
Also used : BifractionalDiffusionModel(dr.evomodel.continuous.BifractionalDiffusionModel) Parameter(dr.inference.model.Parameter)

Aggregations

BifractionalDiffusionModel (dr.evomodel.continuous.BifractionalDiffusionModel)1 Parameter (dr.inference.model.Parameter)1