diff options
author | eug-vs <eugene@eug-vs.xyz> | 2023-09-03 04:15:40 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2023-09-03 04:24:00 +0300 |
commit | 395c2066ece606e66a08b7bb69a6ea0a659462c5 (patch) | |
tree | 9c64851c3ac1d462670a0d51339340c89ec113c6 /benches | |
parent | 08060989f1e3b2669e5969b12aaa35e56d0ff214 (diff) | |
download | chessnost-395c2066ece606e66a08b7bb69a6ea0a659462c5.tar.gz |
feat: apply Mate Distance Pruning
Diffstat (limited to 'benches')
-rw-r--r-- | benches/search.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/benches/search.rs b/benches/search.rs index 26c4c09..89c59d5 100644 --- a/benches/search.rs +++ b/benches/search.rs @@ -12,10 +12,10 @@ fn main() { println!("Finished in {:?}: score={:?} {:?}", start.elapsed(), score, pv); gm.board.print(); for mov in pv { - println!("Score for {:?} is now: {}", gm.board.color(), gm.quiscence(-INFINITY, INFINITY)); + println!("Score for {:?} is now: {}", gm.board.color(), gm.quiscence(-INFINITY, INFINITY, 0)); println!("{:?}", mov); gm.board.make_move(mov); gm.board.print(); } - println!("Score for {:?} is now: {}", gm.board.color(), gm.quiscence(-INFINITY, INFINITY)); + println!("Score for {:?} is now: {}", gm.board.color(), gm.quiscence(-INFINITY, INFINITY, 0)); } |