BEAST v2.5.0 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.

Inputs:

isNarrow, tree, markclades, weight

 

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

 

tree
type: beast.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