CROSSOVER OPERATOR
In this example, there is one crossover_point, and the Crossover command has randomly chosen 3 to be that crossover_point. For Child1, genes 1-3 are donated by Parent1, and genes 4-7 are donated by Parent2. For Child2, genes 1-3 are donated by Parent2, and genes 4-7 are donate by Parent1. This way of alternating the donating parent for each subgroup of genes helps to create offspring that take on characteristics of both their parents.
| Child1 Genome | |||||||
| Child2 Genome | |||||||