aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/evaluation/benchmark.cpp2
-rw-r--r--src/main/input-output/input/sol_preset_types.cpp20
2 files changed, 17 insertions, 5 deletions
diff --git a/src/main/evaluation/benchmark.cpp b/src/main/evaluation/benchmark.cpp
index 74d34a3..f25e491 100644
--- a/src/main/evaluation/benchmark.cpp
+++ b/src/main/evaluation/benchmark.cpp
@@ -27,7 +27,7 @@ void benchmark::run(const sol_rules &rules) {
int total_solvable = 0;
int total_unsolvable = 0;
- for(int seed = 1; seed < INT_MAX; seed++) {
+ for(int seed = 1; seed <= 1000; seed++) {
game_state gs(rules, seed);
solver sol(gs);
diff --git a/src/main/input-output/input/sol_preset_types.cpp b/src/main/input-output/input/sol_preset_types.cpp
index 4afc86f..0f2dd67 100644
--- a/src/main/input-output/input/sol_preset_types.cpp
+++ b/src/main/input-output/input/sol_preset_types.cpp
@@ -555,7 +555,7 @@ map<string, string> sol_preset_types::mp = {
"tableau piles": {
"build policy": "red-black"
},
- "cells": 1
+ "cells": 0
}
)"
@@ -603,14 +603,26 @@ map<string, string> sol_preset_types::mp = {
},
{
+ "free-cell-4-pile",
+
+ R"(
+{
+ "tableau piles": {
+ "count": 4,
+ "build policy": "red-black"
+ },
+ "cells": 4
+}
+)"
+
+ },
+ {
"bakers-game",
R"(
{
"tableau piles": {
- "build policy": "same-suit",
- "move built group": true,
- "spaces policy": "kings"
+ "build policy": "same-suit"
},
"cells": 4
}