X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=src%2Fconf.py;h=3e3db8bdcc2955e383e0c00c5ff03abcfc40f393;hb=9ea7cd888c30fbaa6f6531875ee9327d784f6995;hp=0969b271393fc4b1f9daf472f4677d15b279f8db;hpb=a59c6f151767664b372bd5ceba09baf7398f179f;p=progcomp10.git diff --git a/src/conf.py b/src/conf.py index 0969b27..3e3db8b 100644 --- a/src/conf.py +++ b/src/conf.py @@ -9,12 +9,13 @@ 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. +# How many of each agent to create initially. (or use -n) STARTING_POPULATION = 10 -# ??? +# Number of times the simulation is run. (or use -t) TRIALS = 1 # How much health to give each agent on birth. @@ -27,10 +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: +# Cap the number of agents (set to 0 to disable) +# you may also need to run ulimit -n MAX_TOTAL_AGENTS = 255 # Game dynamics: