Search in sources :

Example 1 with MultiSpeciesCoalescent

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

the class MultiSpeciesCoalescentParser method parseXMLObject.

public Object parseXMLObject(XMLObject xo) throws XMLParseException {
    final SpeciesBindings sb = (SpeciesBindings) xo.getChild(SpeciesBindings.class);
    final SpeciesTreeModel tree = (SpeciesTreeModel) xo.getChild(SpeciesTreeModel.class);
    return new MultiSpeciesCoalescent(sb, tree);
}
Also used : MultiSpeciesCoalescent(dr.evomodel.speciation.MultiSpeciesCoalescent) SpeciesBindings(dr.evomodel.speciation.SpeciesBindings) SpeciesTreeModel(dr.evomodel.speciation.SpeciesTreeModel)

Aggregations

MultiSpeciesCoalescent (dr.evomodel.speciation.MultiSpeciesCoalescent)1 SpeciesBindings (dr.evomodel.speciation.SpeciesBindings)1 SpeciesTreeModel (dr.evomodel.speciation.SpeciesTreeModel)1