BEAST v2.6.7 Documentation: beast.evolution.operators.Exchange

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


type: java.lang.Boolean
if true (default) a narrow exchange is performed, otherwise a wide exchange
Optional input. Default: true


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


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


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