From: Daniel Axtens Date: Wed, 15 Sep 2010 02:24:50 +0000 (+0800) Subject: set constants in conf.py properly X-Git-Tag: v02~2 X-Git-Url: https://git.ucc.asn.au/?p=progcomp10.git;a=commitdiff_plain;h=e3ac87cb613b9896eaefce3b27c64330af6363c1;ds=sidebyside set constants in conf.py properly --- diff --git a/src/conf.py b/src/conf.py index e8f1d88..3e3db8b 100644 --- a/src/conf.py +++ b/src/conf.py @@ -9,7 +9,8 @@ VERBOSE = False DEBUG = False # How many iterations to run before quitting. -MAX_ITERATIONS = 1000 +# This is 100 for the short version and 1000 for the long version +MAX_ITERATIONS = 100 # How many of each agent to create initially. (or use -n) STARTING_POPULATION = 10 @@ -27,9 +28,11 @@ REPRODUCE_HEALTH = 100 DIE_HEALTH = 0 # The age at which to kill any agent. +# This is 100 for the short version and 1000 for the long version MAX_AGE = 100 # Cap the number of agents (set to 0 to disable) +# you may also need to run ulimit -n MAX_TOTAL_AGENTS = 255 # Game dynamics: