aboutsummaryrefslogtreecommitdiff
path: root/include/negamax.h
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2021-01-23 20:48:34 -0500
committertslil <tslil@posteo.de>2026-08-28 19:37:41 +0100
commit93f66971f66c14f18aba743b6d0f8b0f557351ca (patch)
tree1568304dd2c33e03a7ecd4b84b4ba48b03670731 /include/negamax.h
parent9eb1a379853b088df0ab3a4beae4e79eaead4823 (diff)
Hash collisions
Diffstat (limited to 'include/negamax.h')
-rw-r--r--include/negamax.h5
1 files changed, 3 insertions, 2 deletions
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 <tak.h>
#include <xorshift64.h>
#include <cnn1986.h>
-#include <cnn1986_treap_cache.h>
+#include <cnn1986_cache.h>
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