use of dr.evomodel.speciation.BranchingLikelihood in project beast-mcmc by beast-dev.
the class BranchingLikelihoodParser method parseXMLObject.
public Object parseXMLObject(XMLObject xo) {
XMLObject cxo = xo.getChild(MODEL);
BranchingModel branchingModel = (BranchingModel) cxo.getChild(BranchingModel.class);
cxo = xo.getChild(TREE);
TreeModel treeModel = (TreeModel) cxo.getChild(TreeModel.class);
return new BranchingLikelihood(treeModel, branchingModel);
}
Aggregations