use of dr.evomodel.tree.NodeHeightsStatistic in project beast-mcmc by beast-dev.
the class NodeHeightsStatisticParser method parseXMLObject.
public Object parseXMLObject(XMLObject xo) throws XMLParseException {
String name = xo.getAttribute(Statistic.NAME, xo.getId());
Tree tree = (Tree) xo.getChild(Tree.class);
Parameter groupSizes = (Parameter) xo.getChild(Parameter.class);
return new NodeHeightsStatistic(name, tree, groupSizes);
}
Aggregations