A sample from this probability distribution is generated by choosing the point β for which the cumulative probability β 0 P(β)dβ = u where u is a uniformly generated random number in [0, 1) and the change in contracting or expanding P(β) occurs at u = 2 . For such a β, the children's genes are crossed according to