Search in sources :

Example 1 with AlloppMoveLegs

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

the class AlloppMoveLegsParser method parseXMLObject.

@Override
public Object parseXMLObject(XMLObject xo) throws XMLParseException {
    AlloppSpeciesBindings apsp = (AlloppSpeciesBindings) xo.getChild(AlloppSpeciesBindings.class);
    AlloppSpeciesNetworkModel apspnet = (AlloppSpeciesNetworkModel) xo.getChild(AlloppSpeciesNetworkModel.class);
    final double weight = xo.getDoubleAttribute(MCMCOperator.WEIGHT);
    return new AlloppMoveLegs(apspnet, apsp, weight);
}
Also used : AlloppSpeciesNetworkModel(dr.evomodel.alloppnet.speciation.AlloppSpeciesNetworkModel) AlloppSpeciesBindings(dr.evomodel.alloppnet.speciation.AlloppSpeciesBindings) AlloppMoveLegs(dr.evomodel.alloppnet.operators.AlloppMoveLegs)

Aggregations

AlloppMoveLegs (dr.evomodel.alloppnet.operators.AlloppMoveLegs)1 AlloppSpeciesBindings (dr.evomodel.alloppnet.speciation.AlloppSpeciesBindings)1 AlloppSpeciesNetworkModel (dr.evomodel.alloppnet.speciation.AlloppSpeciesNetworkModel)1