Hi all,
I am creating a Genetic Algorithm, and I have two Arrays contain int values, I would like to know a easy way of Split each array into 4 random sections e.g.
Array 1 = [1| 4 5 3| 1 4 |6 7 8| 1]
Array 2 = [2| 6 1 9| 2 4 |1 3 1| 0]
and then create 4 Arrays from the two randomly picking ever a bit from the Array1 or Array 2.
Example:
Array3 = [1|6 1 9| 14 |6 7 8|0]
Array4 = [1|4 5 3|2 4 |6 7 8|1]
Hope this all makes sense.
Kind Regards
FlippA