Search in sources :

Example 6 with MicrosatelliteSamplerTreeModel

use of dr.evomodel.tree.MicrosatelliteSamplerTreeModel in project beast-mcmc by beast-dev.

the class MicrosatelliteSingleAncestralStateGibbsOperatorParser 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 MicrosatelliteSingleAncestralStateGibbsOperator(parameter, msatSamplerTreeModel, msatModel, branchRateModel, weight);
}
Also used : MicrosatelliteModel(dr.oldevomodel.substmodel.MicrosatelliteModel) MicrosatelliteSamplerTreeModel(dr.evomodel.tree.MicrosatelliteSamplerTreeModel) MicrosatelliteSingleAncestralStateGibbsOperator(dr.evomodel.operators.MicrosatelliteSingleAncestralStateGibbsOperator) BranchRateModel(dr.evomodel.branchratemodel.BranchRateModel) Parameter(dr.inference.model.Parameter)

Aggregations

MicrosatelliteSamplerTreeModel (dr.evomodel.tree.MicrosatelliteSamplerTreeModel)6 Parameter (dr.inference.model.Parameter)6 BranchRateModel (dr.evomodel.branchratemodel.BranchRateModel)4 MicrosatelliteModel (dr.oldevomodel.substmodel.MicrosatelliteModel)3 Patterns (dr.evolution.alignment.Patterns)2 StrictClockBranchRates (dr.evomodel.branchratemodel.StrictClockBranchRates)2 TreeModel (dr.evomodel.tree.TreeModel)2 MicrosatelliteSamplerTreeLikelihood (dr.oldevomodel.treelikelihood.MicrosatelliteSamplerTreeLikelihood)2 HashMap (java.util.HashMap)2 Microsatellite (dr.evolution.datatype.Microsatellite)1 NewickImporter (dr.evolution.io.NewickImporter)1 Tree (dr.evolution.tree.Tree)1 Taxa (dr.evolution.util.Taxa)1 Taxon (dr.evolution.util.Taxon)1 MicrosatelliteFullAncestryImportanceSamplingOperator (dr.evomodel.operators.MicrosatelliteFullAncestryImportanceSamplingOperator)1 MicrosatelliteSingleAncestralStateGibbsOperator (dr.evomodel.operators.MicrosatelliteSingleAncestralStateGibbsOperator)1 RandomWalkIntegerSetSizeWeightedOperator (dr.evomodel.operators.RandomWalkIntegerSetSizeWeightedOperator)1 AsymmetricQuadraticModel (dr.oldevomodel.substmodel.AsymmetricQuadraticModel)1 LinearBiasModel (dr.oldevomodel.substmodel.LinearBiasModel)1 TwoPhaseModel (dr.oldevomodel.substmodel.TwoPhaseModel)1