Bots and Simulations > DNA - General
How Long To Wait For Children to...
Botsareus:
How do I make a parent bot pass on its memory locations to its children?
I heard I have to wait n cycles? How long do you have to wait for children to get the parent's memory locations? n = ?
Do I have to add some special code so those memory locations will be copied?
Also, I heard that there is a certain range of memory that does not get copied, what's that range?
:sleep: Bau :sleep: :help:
Numsgil:
Memory locations 971 through 990 are copied.
This was added in 2.32. Here's the readme entry:
5 Racial memory. During the birthing cycle, baby robots copy certain information from the memory of the parent. The copied locations are 971 through 990 and one location is copied each cycle after the 20th cycle of the birth tie. Robots who cut their gestation periods short will miss out on the valuable opportunity to pass on vital information to their offspring.
Someday I'll get to removing or shortening this 20 cycle wait period.
Endy:
That'll be nice, considering that it can cause share feeding parents to kill their own children whenever birth-tie seperation doesn't occur correctly.
Endy B)
Botsareus:
Thx Num
Old Henk:
I read this on the WIKI, what about it? Is this 2.4 only or 2.37 also?
A catch to using racial memory is that the memloc needs to be empty prior to the information being coppied. 971 would need to be 0 for the parent to transfer it's value.
Link to WIKI article on racial memory
Thx in advance :)
Henk
Navigation
[0] Message Index
[#] Next page
Go to full version