Search in sources :

Example 1 with TerminalBranchStatistic

use of dr.evomodel.tree.TerminalBranchStatistic in project beast-mcmc by beast-dev.

the class TerminalBranchStatisticParser method parseXMLObject.

public Object parseXMLObject(XMLObject xo) throws XMLParseException {
    String name = xo.getAttribute(Statistic.NAME, xo.getId());
    Tree tree = (Tree) xo.getChild(Tree.class);
    return new TerminalBranchStatistic(name, tree);
}
Also used : TerminalBranchStatistic(dr.evomodel.tree.TerminalBranchStatistic) Tree(dr.evolution.tree.Tree)

Aggregations

Tree (dr.evolution.tree.Tree)1 TerminalBranchStatistic (dr.evomodel.tree.TerminalBranchStatistic)1