Hi all,
I've started up my first real attempt at a long-term evosim. I'd appreciate any suggestions about parameters and such to encourage evolution.
Details:
-I am trying to evolve Animal Minimalis. Any other suggestions for a simple bot to evolve?
-The food chain is Alga Minimalis -> Animal Minimalis -> Shepherd bot.
-Sim size = 4
-The shepherd is handcoded, virus/mutation immune, omnivorous, and much better than Animal Minimalis; a cond for all genes is "*.totalbots *.totalmyspecies div 4 >" so that it hibernates when it is too large a percentage of the total population.
Shepherd code:
[div class=\'codetop\']CODE[div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']'all genes (except for birth-tie breaking) predicated on .totalbots / .totalmyspecies
cond
*.robage 0 =
start
.tie inc
314 628 rnd add .aimdx store
stop
cond
*.robage 1 =
*.numties 0 > or
start
*.tiepres .deltie store
stop
cond
*.nrg 4000 >
*.totalbots *.totalmyspecies div 4 >
start
50 .repro store
stop
cond
*.totalbots *.totalmyspecies div 4 >
start
5 .up store
*.nrg 4 div .strbody store
*.body 2 div .fdbody store
.shoot .vloc store
0 .venval store
*.velscalar 40 >
314 rnd .aimdx store
stop
cond
*.totalbots *.totalmyspecies div 4 >
*.nrg 500 >
*.venom 100 <
start
10 .strvenom store
stop
cond
*.totalbots *.totalmyspecies div 4 >
*.eye5 0 >
*.refeye *.myeye !=
start
*.refveldx .dx store
*.refvelup 80 add .up store
*.eye6 *.eye4 sub *.eye4 *.eye6 sub abs div 5 mult .aimdx store
stop
cond
*.totalbots *.totalmyspecies div 4 >
*.eye5 50 >
*.refeye *.myeye !=
start
*.refveldx .dx store
*.refvelup .up store
*.eye6 *.eye4 sub *.eye4 *.eye6 sub abs div 5 mult .aimdx store
.shoot dec
'sometimes shoot venom
10 rnd 1 =
-3 .shoot store
*.venom .shootval store
stop
cond
*.totalbots *.totalmyspecies div 4 >
*.eye5 0 =
*.refeye *.myeye = or
*.shflav 0 !=
*.shflav -2 !=
start
*.shang 314 add .aimdx store
stop
end
------------
I am trying to get smooth, regular predator-prey cycles going between Animal Minimalis and Alga Minimalis. I have veg population capped at 100; Currently the Animals will slowly overpopulate the sim while the Alga population stays stuck to the ceiling; then suddenly the Alga population crashes and the Animal population declines slowly, until suddenly Alga populations surge again, and so on. I want a smoother cycle; I guess the problem is that the delay between Animal and Alga populations is too long. I was thinking a well-tuned constant tax on nrg for Animals might help; it would make the Animals die off more quickly when their food source disappears. Also I might uncap the veg population. Any thoughts?
Actually it looks like the population stabilized with the algae at the population cap and Animal Minimalis at the shepherd in equilibrium. I don't like the veggie population sitting at the cap, so I uncapped it; veggie population is now 1000 and rising. I guess I'll play around with the energy fed to veggies to stabilize them.
A problem with the shepherd is that .totalbots includes veggies, so that it starts playing rough with Animal Minimalis when veggie populations spike. I think this delays the restoring force that would otherwise be applied to spiking veggie populations. Also the shepherd's venom disarms its target for a while, making it harder for Animal Minimalis to control the veggies.
I'd appreciate any help, and I'll report any interesting results here.