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
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