summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2019-05-22 20:38:47 +0200
committerJustin Worthe <justin@worthe-it.co.za>2019-05-22 20:38:47 +0200
commite9a514409565c17a4a86e8c6402be8d7a4f399ae (patch)
tree839dc6e223014ef519fe4d2d020aea996b562e44 /src/bin
parent63da94f7f1b25eddeb9ffd379f37c1a32e750fdb (diff)
Added a strategy cache for reusing previous round data
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/benchmark.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/benchmark.rs b/src/bin/benchmark.rs
index 794ba4e..20f74d0 100644
--- a/src/bin/benchmark.rs
+++ b/src/bin/benchmark.rs
@@ -13,7 +13,7 @@ fn main() {
match json::read_state_from_json_file(&Path::new(&format!("./tests/example-state.json"))) {
Ok(json_state) => {
let new_board = game::GameBoard::new(json_state);
- let _ = choose_move(&new_board, &start_time, max_time);
+ let _ = choose_move(&new_board, None, &start_time, max_time);
},
Err(e) => {
eprintln!("WARN: State file could not be parsed: {}", e);