Bots and Simulations > DNA - General
How Long To Wait For Children to...
PurpleYouko:
Hmm
Interesting.
That doesn't really make sense. If memlocs 971 through 990 are zero in the parent then no data will be transferred since there is nothing there to transfer.
Therefore it is a prerequisite that the parent needs something there to make use of the feature.
In the baby, the values in those memlocs will always be zero at birth so unless the DNA specifially puts something there at a very young age (probably overwriting any transferred data) there is no reason why we would even need to consider the catch
There is nothing that I am aware of in the code that prevents writing to a non-zero memory location. More likely, the values that are copied could be overwritten by careless DNA programming.
What you would need to do is to prevent baby from writing to those memory locations until he is at least age 21 and also check for zero values present before writing information. It should all work just fine then.
Numsgil:
I noticed that the other day too, and I'm not sure what it means.
Stranger still, I went to see who added that line, and I think it was me (IP address, no s/n).
I have no idea personally. Someone should find that bit of code and figure out what the heck me/whoever was talking about.
Griz:
was 66.91.141.218 on 27 Sep 2005
http://www.darwinbots.com/WikiManual/index...=next&oldid=258
other contributions:
http://www.darwinbots.com/WikiManual/index...t=66.91.141.218
so that looks like Endy
Numsgil:
ah, then Endy must know what he meant :P
Endy:
Yeah that was me. Found it out working with various epigenetic bots. The main problem is that the earlier epigen systems I was using would always activate at age zero. Before the parent could transfer it's values...
Now I use .delgene inc to delete the first gene after the first bots have stored their initial epigen values. To reset for the children in case the parent dies prior to transfer, I'll use something like *.robage 40 > to prevent any accidental overwrites. I think I've got an epigen bot somewhere in the bestiary :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version