TycheInstantSwitchClockModel

public class tyche.evolution.branchratemodel.TycheInstantSwitchClockModel extends tyche.evolution.branchratemodel.AbstractTycheTypeLinkedClockModel

Defines a type-linked rate for each branch in the beast.tree, where the branch is assumed to be entirely in the child state.

public double getBranchRate(Node node)

Calculates a type-linked rate for this branch, where the branch is assumed to be entirely in the child state.

Parameters:

node – the current node (child node of the branch)

Returns:

the type-linked rate for this branch