Proposes a move in state space.
This operator changes a beast.tree.
Implements the unweighted Wilson-Balding branch swapping move. This move is similar to one proposed by WILSON and BALDING 1998 and involves removing a subtree and re-attaching it on a new parent branch. See picture.
tree, markclades, weight
|beast.tree on which this operation is performed|
|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 with which this operator is selected|