Search in sources :

Example 1 with BirthDeathCollapseNClustersStatistic

use of dr.evomodel.alloppnet.speciation.BirthDeathCollapseNClustersStatistic in project beast-mcmc by beast-dev.

the class BirthDeathCollapseNClustersStatisticParser method parseXMLObject.

@Override
public Object parseXMLObject(XMLObject xo) throws XMLParseException {
    xo.getAttribute("name");
    final XMLObject spptreexo = xo.getChild(SPECIES_TREE);
    SpeciesTreeModel spptree = (SpeciesTreeModel) spptreexo.getChild(SpeciesTreeModel.class);
    final XMLObject cmxo = xo.getChild(COLLAPSE_MODEL);
    BirthDeathCollapseModel bdcm = (BirthDeathCollapseModel) cmxo.getChild(BirthDeathCollapseModel.class);
    return new BirthDeathCollapseNClustersStatistic(spptree, bdcm);
}
Also used : BirthDeathCollapseNClustersStatistic(dr.evomodel.alloppnet.speciation.BirthDeathCollapseNClustersStatistic) BirthDeathCollapseModel(dr.evomodel.alloppnet.speciation.BirthDeathCollapseModel) SpeciesTreeModel(dr.evomodel.speciation.SpeciesTreeModel)

Aggregations

BirthDeathCollapseModel (dr.evomodel.alloppnet.speciation.BirthDeathCollapseModel)1 BirthDeathCollapseNClustersStatistic (dr.evomodel.alloppnet.speciation.BirthDeathCollapseNClustersStatistic)1 SpeciesTreeModel (dr.evomodel.speciation.SpeciesTreeModel)1