Bots and Simulations > Bot Tavern

Incomplete constructed Mb individuals?

(1/5) > >>

Welwordion:
After trying to programm a certain growth routine I asked myself how come a certain percentage grows like intended while others fail their growth routine, I mean if you deactivate brownian motion and every bot has the same starting conditions how come that not all either do it right or all fail but rather a percentage fails and a percentage succeeds?
Any thought on that?

Peksa:
That pretty much depends on the code you're using and what happens after the start, when the conditions aren't necessarily same for everyone. With so little information, I can't say much more.

Welwordion:
Well the questions was meant  in general, cause this is not the first time I observed this, so I wanted to collect a list of things that can go wrong, but if you want a  code how about:

def generation 971

cond
*.robage 0 =
start
.generation inc
stop

cond
*.robage 1000 >
*.generation 1 =
*.eye5 0 =
*.nrg 20000 >
start
30 .repro store
stop

cond
*.robage 2 =
*.generation 2 =
start
628 .aimsx store
stop

cond
*972 2 <
*.generation 2 =
*.robage 2 >
start
972 inc
157  *972 2 mult mult .aimdx store
5 .repro store
95 .sharenrg store
stop

cond
*.generation 3 =
*.robage 10 <
*.multi 0 =
start
*972 .tie store
stop

end

Numsgil:
Tie physics are a little unpredictable.  That could be part of the problem.

Welwordion:
I can delete the last gene  and the 95 .sharenrg store the result stays the same some generation 2 bots have one descendant some two.

Navigation

[0] Message Index

[#] Next page

Go to full version