diff options
| author | Charlie Blake | 2018-06-21 15:13:19 +0100 |
|---|---|---|
| committer | GitHub | 2018-06-21 15:13:19 +0100 |
| commit | 4c617d49ce2fc162f25379df7715de34c0bbc349 (patch) | |
| tree | 49d507a2024cdbbf68be95719ff60d4fee04fc99 /src/main/evaluation/benchmark.cpp | |
| parent | Merge pull request #64 from thecharlesblake/solvability-csv-output (diff) | |
| parent | Fixup randomness (diff) | |
| download | metasol-4c617d49ce2fc162f25379df7715de34c0bbc349.tar.gz metasol-4c617d49ce2fc162f25379df7715de34c0bbc349.zip | |
Merge pull request #65 from thecharlesblake/solvability-improvements
Solvability improvements
Diffstat (limited to 'src/main/evaluation/benchmark.cpp')
| -rw-r--r-- | src/main/evaluation/benchmark.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/evaluation/benchmark.cpp b/src/main/evaluation/benchmark.cpp index 367caf5..83207fb 100644 --- a/src/main/evaluation/benchmark.cpp +++ b/src/main/evaluation/benchmark.cpp @@ -13,7 +13,7 @@ using namespace std; typedef chrono::microseconds microsec; -void benchmark::run(const sol_rules &rules, uint64_t cache_capacity) { +void benchmark::run(const sol_rules &rules, uint64_t cache_capacity, bool streamliners) { cout << "Seed " "| Median/Mean Solution Time(μs)" "| Median/Mean States Searched " @@ -27,7 +27,7 @@ void benchmark::run(const sol_rules &rules, uint64_t cache_capacity) { int total_unsolvable = 0; for(int seed = 1; seed <= 1000; seed++) { - game_state gs(rules, seed); + game_state gs(rules, seed, streamliners); solver sol(gs, cache_capacity); auto start = chrono::steady_clock::now(); |
