aboutsummaryrefslogtreecommitdiff
path: root/include/negamax.h
diff options
context:
space:
mode:
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