diff options
author | eug-vs <eugene@eug-vs.xyz> | 2023-08-27 01:40:53 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2023-08-27 01:40:53 +0300 |
commit | 80cee11b945c57de78b8eadad4da88c7145093f3 (patch) | |
tree | b8e2478607e76561f1a6f99d6abc2633c2696d30 | |
parent | 38443955811b7c127a2b1b291c843e73bc530adb (diff) | |
download | chessnost-80cee11b945c57de78b8eadad4da88c7145093f3.tar.gz |
feat: display hashfull info
-rw-r--r-- | src/grossmeister/search.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/grossmeister/search.rs b/src/grossmeister/search.rs index 6b2048d..281352e 100644 --- a/src/grossmeister/search.rs +++ b/src/grossmeister/search.rs @@ -214,6 +214,7 @@ impl Grossmeister { let mut root_killers: Vec<Move> = Vec::new(); while depth <= max_depth { + println!("info hashfull {}", 1000 * self.transposition_table.iter().filter(|item| item.is_some()).count() / self.transposition_table.len()); println!("info depth {}", depth); if self.debug { println!("info string window {:?}", (alpha, beta)); |