Search in sources :

Example 1 with MoveLinkageGroup

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

the class MoveLinkageGroupParser method parseXMLObject.

public Object parseXMLObject(XMLObject xo) throws XMLParseException {
    final double weight = xo.getDoubleAttribute(MCMCOperator.WEIGHT);
    final HiddenLinkageModel hlm = (HiddenLinkageModel) xo.getChild(HiddenLinkageModel.class);
    return new MoveLinkageGroup(hlm, weight);
}
Also used : MoveLinkageGroup(dr.evomodel.operators.MoveLinkageGroup) HiddenLinkageModel(dr.evomodel.tree.HiddenLinkageModel)

Aggregations

MoveLinkageGroup (dr.evomodel.operators.MoveLinkageGroup)1 HiddenLinkageModel (dr.evomodel.tree.HiddenLinkageModel)1