Proposes a move in state space.
This operator changes a beast.tree.
Implements branch exchange operations. There is a NARROW and WIDE variety. The narrow exchange is very similar to a rooted-beast.tree nearest-neighbour interchange but with the restriction that node height must remain consistent.
isNarrow, tree, markclades, weight
|if true (default) a narrow exchange is performed, otherwise a wide exchange|
|Optional input. Default: true|
|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|