CombinedRootOperator
- public class tyche.evolution.operator.CombinedRootOperator extends tyche.evolution.operator.LeafConsciousTypeTreeOperator
Tree Operator that operates on the root’s height and type together.
- CombinedRootOperator()
empty constructor to facilitate construction by XML + initAndValidate
- CombinedRootOperator(Tree)
- public void initAndValidate()
- private double getNewHeight(double heightRoot, double heightMRCA)
- private int getRandomType()
- private double adjustRoot(Node root, double newHeight, double heightMRCA)
- public double proposal()
Change the parameter.
- Returns:
Double.NEGATIVE_INFINITY if proposal should not be accepted