Proposes a move in state space.
This operator changes a beast.tree.
Implements a narrow move between trees of different dimensions (number of nodes in trees).It takes a random sampled node which is either a leaf with the younger siblingor a sampled internal node. In the first case, the leaf becomes a sampled internal node by replacing its parent (the height of the leaf remains unchanged). In the second case, the sampled internal node becomes a leaf by inserting a new parent node at a height which is uniformly chosen on the interval between the sampled node height and its old parent height.
rateCategories, removalProbability, tree, markclades, weight
 
type: beast.base.inference.parameter.IntegerParameter |
rate category per branch |
Optional input |
 
type: beast.base.inference.parameter.RealParameter |
The probability of an individual to be removed from the process immediately after the sampling |
Optional input |
 
type: beast.base.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 |