Code center > Suggestions
A small idea to help make brainy bots
Botsareus:
Num, how is this:
--- Quote ---cond
start
*20 * *12 store
*30 * *13 store
stop
cond
*12
*13
>
start
*60 *80 store
stop
--- End quote ---
supposed to work, when you make the gene execution non-liner ?
Numsgil:
Exactly like before, except the store statement doesn't take effect immediatly. So that second gene'll take an extra cycle to execute.
It'll go entire DNA executed, apply stores, incs, and decs, update bots.
Botsareus:
well this robot is a crazy idea anyway , will see , maybe I will find enough memory locations to make it work in the new system.
(I was planning to use the *12 and the *13 once for each virtual gene)
That thing I quoted is 1 virtual gene out of 20... Gess I will just how to use 40 more memory locations.
we got about 800 free memory locations.
'backbuffer sub dna
(20) top part of condition
(20) buttom part of condition
(20) top part of condition type (number or sysvar)
(20) buttom part of condition type (number or sysvar)
(20) sysvar input value for instruction
(20) actual sysvar for instruction
'active sub dna
(20) top part of condition
(20) buttom part of condition
(20) top part of condition type (number or sysvar)
(20) buttom part of condition type (number or sysvar)
(20) sysvar input value for instruction
(20) actual sysvar for instruction
'
(20) actual value returning of top part of condition
(20) actual value returning of buttom part of condition
800 - 280, nice, I still have 520 memory locations to use for other stuff
Numsgil:
That's alot of memory locations, tell me how it goes.
Botsareus:
http://s9.invisionfree.com/DarwinBots_Foru...ndpost&p=709853
Basicaly the robot will generate random conditions and instructions until it finds the best 20 for a givin situation
Navigation
[0] Message Index
[*] Previous page
Go to full version