From a39ab6639442907f7028945fe18daeb5a1a2d196 Mon Sep 17 00:00:00 2001 From: Tobias Ahlbrecht Date: Mon, 3 Aug 2020 11:52:07 +0200 Subject: [PATCH] some more sample configurations --- server/conf/SampleConfig2.json | 5 ++- server/conf/sim-test/big-world.json | 50 +++++++++++++++++++++++++++ server/conf/sim-test/small-world.json | 50 +++++++++++++++++++++++++++ 3 files changed, 104 insertions(+), 1 deletion(-) create mode 100644 server/conf/sim-test/big-world.json create mode 100644 server/conf/sim-test/small-world.json diff --git a/server/conf/SampleConfig2.json b/server/conf/SampleConfig2.json index be8fe81..3aa24d4 100644 --- a/server/conf/SampleConfig2.json +++ b/server/conf/SampleConfig2.json @@ -21,9 +21,12 @@ ], "match" : [ + "$(sim-test/small-world.json)", + "$(sim-test/big-world.json)", "$(sim-test/tasks.json)", "$(sim-test/large-events.json)", - "$(sim-test/more-obstacles.json)" + "$(sim-test/more-obstacles.json)", + "$(sim-test/grid-on-fire.json)" ], "teams" : { diff --git a/server/conf/sim-test/big-world.json b/server/conf/sim-test/big-world.json new file mode 100644 index 0000000..d916e95 --- /dev/null +++ b/server/conf/sim-test/big-world.json @@ -0,0 +1,50 @@ +{ + "description": "50 agents, small clusters, non-square map, complex layout", + + "NOsetup" : "conf/setup/test.txt", + + "steps" : 750, + "randomSeed" : 17, + "randomFail" : 1, + "entities" : {"standard" : 50}, + "clusterBounds" : [1,5], + + "clearSteps" : 3, + "clearEnergyCost" : 30, + "disableDuration" : 4, + "maxEnergy" : 300, + "attachLimit" : 10, + + "grid" : { + "height" : 50, + "width" : 100, + "instructions": [ + ["cave", 0.55, 9, 5, 4] + ], + "goals": { + "number" : 3, + "size" : [1,2] + } + }, + + "blockTypes" : [3, 3], + "dispensers" : [10, 15], + + "tasks" : { + "size" : [1, 4], + "duration" : [100, 200], + "taskboards" : 5, + "probability" : 0.1, + "rewardDecay" : [1, 1], + "lowerRewardLimit" : 10, + "distanceToTaskboards" : 10 + }, + + "events" : { + "chance" : 15, + "radius" : [3, 5], + "warning" : 5, + "create" : [-3, 1], + "perimeter" : 2 + } +} \ No newline at end of file diff --git a/server/conf/sim-test/small-world.json b/server/conf/sim-test/small-world.json new file mode 100644 index 0000000..4ac1618 --- /dev/null +++ b/server/conf/sim-test/small-world.json @@ -0,0 +1,50 @@ +{ + "description" : "small grid, non-square, small clusters, few goals etc., simpler tasks", + + "NOsetup" : "conf/setup/test.txt", + + "steps" : 750, + "randomSeed" : 17, + "randomFail" : 1, + "entities" : {"standard" : 30}, + "clusterBounds" : [1,2], + + "clearSteps" : 3, + "clearEnergyCost" : 30, + "disableDuration" : 4, + "maxEnergy" : 300, + "attachLimit" : 10, + + "grid" : { + "height" : 32, + "width" : 64, + "instructions": [ + ["cave", 0.45, 9, 5, 4] + ], + "goals": { + "number" : 2, + "size" : [1,1] + } + }, + + "blockTypes" : [2, 2], + "dispensers" : [5, 7], + + "tasks" : { + "size" : [1, 3], + "duration" : [100, 200], + "probability" : 0.1, + "taskboards" : 2, + "rewardDecay" : [1, 1], + "lowerRewardLimit" : 15, + "distanceToTaskboards" : 9 + }, + + "events" : { + "chance" : 15, + "radius" : [3, 5], + "warning" : 5, + "create" : [-3, 1], + "perimeter" : 2 + } +} \ No newline at end of file