git.ucc.asn.au
/
progcomp10.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Final documentation tweaks.
[progcomp10.git]
/
src
/
conf.py
diff --git
a/src/conf.py
b/src/conf.py
index
aabd717
..
e8f1d88
100644
(file)
--- a/
src/conf.py
+++ b/
src/conf.py
@@
-2,19
+2,19
@@
from rpsconst import *
from rpsconst import *
-# Enable for verbose output.
-VERBOSE =
Tru
e
+# Enable for verbose output.
(or use -v)
+VERBOSE =
Fals
e
# Enable for even more verbose output.
DEBUG = False
# How many iterations to run before quitting.
# Enable for even more verbose output.
DEBUG = False
# How many iterations to run before quitting.
-MAX_ITERATIONS = 1
5
0
+MAX_ITERATIONS = 1
00
0
-# How many of each agent to create initially.
+# How many of each agent to create initially.
(or use -n)
STARTING_POPULATION = 10
STARTING_POPULATION = 10
-#
???
+#
Number of times the simulation is run. (or use -t)
TRIALS = 1
# How much health to give each agent on birth.
TRIALS = 1
# How much health to give each agent on birth.
@@
-29,11
+29,14
@@
DIE_HEALTH = 0
# The age at which to kill any agent.
MAX_AGE = 100
# The age at which to kill any agent.
MAX_AGE = 100
-# Game dynamics - these are not final:
+# Cap the number of agents (set to 0 to disable)
+MAX_TOTAL_AGENTS = 255
+
+# Game dynamics:
# WINNER TRUTH ATTPoints, DEFPoints
# WINNER TRUTH ATTPoints, DEFPoints
-pointsTable [Attacker] [False] = (
2, -2
)
+pointsTable [Attacker] [False] = (
3, -3
)
pointsTable [Attacker] [True] = (2, -2)
pointsTable [Defender] [False] = (-2, 2)
pointsTable [Attacker] [True] = (2, -2)
pointsTable [Defender] [False] = (-2, 2)
-pointsTable [Defender] [True] = (-
2, 2
)
+pointsTable [Defender] [True] = (-
3, 3
)
pointsTable [Tie] [False] = (0, 0)
pointsTable [Tie] [True] = (1, 1)
pointsTable [Tie] [False] = (0, 0)
pointsTable [Tie] [True] = (1, 1)
UCC
git Repository :: git.ucc.asn.au