Partial Matched Crossover Question

Ee126f5884d0a2dbf4ee911271b18ac2
0
mister_bluesman_gorm 101 Mar 10, 2006 at 09:50

say i have

Parents:
p1: 0,   9,  12, 38,  7| 5, 8, 11, 13, 40, 16 | 21, 29, 30
p2: 11, 15, 18, 38, 12 | 7, 36, 40, 41, 42, 5 | 6, 17, 32

Children:
c1 0, 9, 12, 38, ' X' | 7, 36, 40, 41, 42, 5 | 21, 29, 30
c2 11, 15, 18, 38, 12 | 5, 8, 11, 13, 40, 16 | 6, 17, 32

What should be placed in X. Should i go to the index where 7 is found in p2, and using that index obtain the value held there in P1 (5). Then, find the index where 5 if held in p2 and use that so that I get 16 being the value held at the index in p1 which to use at X?

Cheers

3 Replies

Please log in or register to post a reply.

A9102969e779768e6f0b8cb87e864c94
0
dave_ 101 Mar 12, 2006 at 13:18

say i have

some homework

What should I do? Should i place it on a game developer website? No.

Cheers

Ee126f5884d0a2dbf4ee911271b18ac2
0
mister_bluesman_gorm 101 Mar 15, 2006 at 10:18

It’s not homework. Its part of my final year degree project. I was just asking a question. If you cant answer it dont be bitter about it.

Cheers

6f0a333c785da81d479a0f58c2ccb203
0
monjardin 102 Mar 15, 2006 at 23:32

What is ‘7’, Alex?