BEAST v2.7.8 Documentation: beastlabs.evolution.operators.AttachAndUniformOperator

Proposes a move in state space.
This operator changes a beast.tree.
Detach a clade and re-attach it at the same height somewhere else. A BEAST object can guide the moves by providing a distance between clades via the DistanceProvider interface. Clades with lower distance should be more closely related and therefore the move more likely to get accepted.
Detach and re-attach a clade as per AttachOperator, and then resample as per UniformOperator only the elements of a multi-dimensional parameter which correspond to branches which were changed.

Inputs:

parameter, weights, tipsOnly, topOnly, constraints, restricted, tree, markclades, weight

 

parameter
type: beast.base.inference.parameter.Parameter
a real or integer parameter to sample individual values for
Required input

 

weights
type: beastlabs.evolution.operators.DistanceProvider
Provide distances between clades (data, not tree based)
Optional input

 

tipsOnly
type: java.lang.Boolean
Move only nodes attached to tips.
Optional input. Default: false

 

topOnly
type: java.lang.Boolean
Consider only nodes not under any monophyly constraint.
Optional input. Default: false

 

constraints
type: beastlabs.math.distributions.MultiMonophyleticConstraint
Respect clade constraints, i.e make no moves which violate some constraint.
Optional input

 

restricted
type: beast.base.evolution.tree.MRCAPrior***
Use only those nodes (MRCAs of some clades)
Optional input

 

tree
type: beast.base.evolution.tree.Tree
beast.tree on which this operation is performed
Required input

 

markclades
type: java.lang.Boolean
Mark all ancestors of nodes changed by the operator as changed, up to the MRCA of all nodes changed by the operator.
Optional input. Default: false

 

weight
type: java.lang.Double
weight with which this operator is selected
Required input