繁衍选择算法会查找weights数组,选择第一个双亲—其实,每个个体都有可能成为双亲,但是双亲位置的数目是确定的。
The breeding selection algorithm picks one parent by looking at the weights - in effect, every individual gets a chance to be a parent, but the number of parent slots is finite.
结果,我们可以从一个双亲上随机选择某些位,其余的来自另外一个双亲。
The effect is that we pick random bits from one parent, and then the rest of the bits come from the other parent.
我双亲不赞成我对大学的选择。
应用推荐