Search in sources :

Example 1 with BetaSplittingModel

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);
}
Also used : Parameter(dr.inference.model.Parameter) Tree(dr.evolution.tree.Tree) BetaSplittingModel(dr.evomodel.speciation.BetaSplittingModel)

Aggregations

Tree (dr.evolution.tree.Tree)1 BetaSplittingModel (dr.evomodel.speciation.BetaSplittingModel)1 Parameter (dr.inference.model.Parameter)1