GRTSubtreeSlide

public class tyche.evolution.operator.GRTSubtreeSlide extends beast.base.evolution.operator.SubtreeSlide

SubtreeSlide Operator that will appropriately handle if the provided Tree is a GermlineRootTree

protected boolean isGermline(Node node)
public double doGRTProposal()

Do a probabilistic subtree slide move.

Returns:

log of Hastings Ratio, or Double.NEGATIVE_INFINITY if proposal should not be accepted *

public double proposal()

Do a probabilistic subtree slide move.

Returns:

log of Hastings Ratio, or Double.NEGATIVE_INFINITY if proposal should not be accepted *

private double getDelta()
private int intersectingEdges(Node node, double height, List directChildren)