crossover KPoint
Executes a K point crossover on the input sequence individuals. The two values are modified in place.
Example:
Count (K points) = 2
Parent 1: ++++++++
Parent 2: --------
Generated cross index: 1, 5
Child 1: ++----++
Child 2: --++++--
Content copied to clipboard
Parameters
value1
value of first child chromosome
value2
value of second child chromosome
count
k-points for crossover