Search in sources :

Example 1 with MicrosatelliteFullAncestryImportanceSamplingOperator

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

the class MicrosatelliteFullAncestryImportanceSamplingOperatorParser method parseXMLObject.

public Object parseXMLObject(XMLObject xo) throws XMLParseException {
    final double weight = xo.getDoubleAttribute(MCMCOperator.WEIGHT);
    final Parameter parameter = (Parameter) xo.getChild(Parameter.class);
    final MicrosatelliteSamplerTreeModel msatSamplerTreeModel = (MicrosatelliteSamplerTreeModel) xo.getChild(MicrosatelliteSamplerTreeModel.class);
    final MicrosatelliteModel msatModel = (MicrosatelliteModel) xo.getChild(MicrosatelliteModel.class);
    final BranchRateModel branchRateModel = (BranchRateModel) xo.getChild(BranchRateModel.class);
    return new MicrosatelliteFullAncestryImportanceSamplingOperator(parameter, msatSamplerTreeModel, msatModel, branchRateModel, weight);
}
Also used : MicrosatelliteModel(dr.oldevomodel.substmodel.MicrosatelliteModel) MicrosatelliteSamplerTreeModel(dr.evomodel.tree.MicrosatelliteSamplerTreeModel) BranchRateModel(dr.evomodel.branchratemodel.BranchRateModel) MicrosatelliteFullAncestryImportanceSamplingOperator(dr.evomodel.operators.MicrosatelliteFullAncestryImportanceSamplingOperator) Parameter(dr.inference.model.Parameter)

Aggregations

BranchRateModel (dr.evomodel.branchratemodel.BranchRateModel)1 MicrosatelliteFullAncestryImportanceSamplingOperator (dr.evomodel.operators.MicrosatelliteFullAncestryImportanceSamplingOperator)1 MicrosatelliteSamplerTreeModel (dr.evomodel.tree.MicrosatelliteSamplerTreeModel)1 Parameter (dr.inference.model.Parameter)1 MicrosatelliteModel (dr.oldevomodel.substmodel.MicrosatelliteModel)1