diff options
| author | Mike White <botahamec@outlook.com> | 2021-09-18 12:25:15 -0400 |
|---|---|---|
| committer | Mike White <botahamec@outlook.com> | 2021-09-18 12:25:15 -0400 |
| commit | f1d3cf99a122c63e09f33ca30d6c09fd29d66a24 (patch) | |
| tree | c8371c1a8ecd3851b00081bb9ae0cd6d81c4b313 /cli/src | |
| parent | 022ad804720a9cede6e8e463ad4bf82db3588f84 (diff) | |
Implement multithreading
Diffstat (limited to 'cli/src')
| -rw-r--r-- | cli/src/eval.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/eval.rs b/cli/src/eval.rs index 72fa32a..8076af1 100644 --- a/cli/src/eval.rs +++ b/cli/src/eval.rs @@ -1,6 +1,6 @@ use ai::{CheckersBitBoard, Move}; pub fn eval(depth: usize) -> f32 { - ai::eval(depth, 0.0, 1.0, CheckersBitBoard::starting_position()) + ai::eval_multithreaded(depth, 0.0, 1.0, CheckersBitBoard::starting_position()) } pub fn best_move(depth: usize) -> Move { |
