0
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

0
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

0
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

0
102 Mar 15, 2006 at 23:32

What is ‘7’, Alex?