Search in sources :

Example 1 with MulTreeSequenceReassignment

use of dr.evomodel.alloppnet.operators.MulTreeSequenceReassignment in project beast-mcmc by beast-dev.

the class MulTreeSequenceReassignmentParser method parseXMLObject.

@Override
public Object parseXMLObject(XMLObject xo) throws XMLParseException {
    MulSpeciesBindings mulspb = (MulSpeciesBindings) xo.getChild(MulSpeciesBindings.class);
    MulSpeciesTreeModel multree = (MulSpeciesTreeModel) xo.getChild(MulSpeciesTreeModel.class);
    final double weight = xo.getDoubleAttribute(MCMCOperator.WEIGHT);
    return new MulTreeSequenceReassignment(multree, mulspb, weight);
}
Also used : MulSpeciesBindings(dr.evomodel.alloppnet.speciation.MulSpeciesBindings) MulSpeciesTreeModel(dr.evomodel.alloppnet.speciation.MulSpeciesTreeModel) MulTreeSequenceReassignment(dr.evomodel.alloppnet.operators.MulTreeSequenceReassignment)

Aggregations

MulTreeSequenceReassignment (dr.evomodel.alloppnet.operators.MulTreeSequenceReassignment)1 MulSpeciesBindings (dr.evomodel.alloppnet.speciation.MulSpeciesBindings)1 MulSpeciesTreeModel (dr.evomodel.alloppnet.speciation.MulSpeciesTreeModel)1