From 93f66971f66c14f18aba743b6d0f8b0f557351ca Mon Sep 17 00:00:00 2001 From: tslil clingman Date: Sat, 23 Jan 2021 20:48:34 -0500 Subject: Hash collisions --- include/negamax.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/negamax.h') diff --git a/include/negamax.h b/include/negamax.h index d00780d..52a8fd2 100644 --- a/include/negamax.h +++ b/include/negamax.h @@ -2,15 +2,16 @@ #include #include #include -#include +#include extern const float infty; extern char negamax_ptn[9]; extern uint8_t negamax_search_depth; +extern uint32_t cache_fails; extern inline void negamax_display_progress(const uint8_t); void negamax_init(const uint8_t new_board_size); -uint64_t negamax_compute_zobrist(void); +void negamax_compute_zobrist(uint64_t hash[4]); // Do negamax to depth negamax_search_depth and return PTN of best move // in negamax_ptn, along with its value as the return. The -- cgit v1.3.1