PDA

View Full Version : Partial Matched Crossover Question


mister_bluesman@gormail.c
03-10-2006, 02:50 AM
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

dave_
03-12-2006, 06:18 AM
say i have

some homework

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

Cheers

mister_bluesman@gormail.c
03-15-2006, 03:18 AM
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

monjardin
03-15-2006, 04:32 PM
What is '7', Alex?