The diagram of the generated child is incorrect.
Removing the sliced genes of parent one from the genes of parent two should give a list of “6, 5, 4” that contribute to the new child.
This would give a new child gene of “6, 5, 0, 1, 3, 2, 4”
The diagram of the generated child is incorrect.
Removing the sliced genes of parent one from the genes of parent two should give a list of “6, 5, 4” that contribute to the new child.
This would give a new child gene of “6, 5, 0, 1, 3, 2, 4”