aboutsummaryrefslogtreecommitdiff
path: root/stats
diff options
context:
space:
mode:
Diffstat (limited to 'stats')
-rw-r--r--stats/node_limits/klondike14
-rwxr-xr-xstats/node_limits/node_limits.sh15
-rw-r--r--stats/node_limits/settings.json10
3 files changed, 39 insertions, 0 deletions
diff --git a/stats/node_limits/klondike b/stats/node_limits/klondike
new file mode 100644
index 0000000..47a98e7
--- /dev/null
+++ b/stats/node_limits/klondike
@@ -0,0 +1,14 @@
+tableau-size: 7
+build-policy: red-black
+spaces-policy: kings
+move-built-group: yes
+group-build-policy: red-black
+
+diagonal-deal: true
+face-up-policy: top
+
+foundations-removable: true
+
+cards-in-stock: 24
+stock-deal-count: 3
+stock-redeal: true
diff --git a/stats/node_limits/node_limits.sh b/stats/node_limits/node_limits.sh
new file mode 100755
index 0000000..ad041b4
--- /dev/null
+++ b/stats/node_limits/node_limits.sh
@@ -0,0 +1,15 @@
+set -e
+
+mkdir -p results
+
+while read nodes ; do
+ while read seed ; do
+ cmd="./centre klondike \
+ --settings settings.json \
+ --dealseed $seed \
+ --limitnodes $nodes"
+ echo "$cmd"
+ /bin/time -pvo results/$seed-$nodes.time -- $cmd \
+ 2>results/$seed-$nodes.err | tee results/$seed-$nodes.out
+ done < seeds.txt
+done < limits.txt
diff --git a/stats/node_limits/settings.json b/stats/node_limits/settings.json
new file mode 100644
index 0000000..d340dba
--- /dev/null
+++ b/stats/node_limits/settings.json
@@ -0,0 +1,10 @@
+{
+ "solve seed": 100,
+ "max concurrent games": 10,
+ "max concurrent threads": 20,
+ "initial vote count": 10,
+ "vote increase step": 0,
+ "vote increase magnitude": 5,
+ "max vote count": 1000,
+ "agree ratio": 80
+}