Changeset 184 for experiments/frams/evolve-speed-vs-gravity/data
- Timestamp:
- 03/18/14 17:00:11 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
experiments/frams/evolve-speed-vs-gravity/data/scripts/evolve-speed-vs-gravity.script
r118 r184 28 28 while (Simulator.running && best.popsiz<min_evaluations) //repeat until the best genotype will be evaluated at least min_evaluations times 29 29 { 30 Simulator.step(); 30 for(var t=best.lifespan; t>0 && Simulator.running; t--) 31 Simulator.step(); // simulate 'expected lifespan' steps after which 'best' may have changed. This helps avoid too frequent calls to best() 31 32 best=GenePools[0].best(); 32 33 }
Note: See TracChangeset
for help on using the changeset viewer.