aboutsummaryrefslogtreecommitdiff
path: root/include/negamax.h
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2021-01-24 12:07:18 -0500
committertslil <tslil@posteo.de>2026-08-28 19:37:41 +0100
commit815cde44e5060ad093347bb47fc66d41c9d3a3ed (patch)
treefdbd7a4d55ae6da4e4cdc841343d63bf7dcc826c /include/negamax.h
parent93f66971f66c14f18aba743b6d0f8b0f557351ca (diff)
Still trying
|
Diffstat (limited to 'include/negamax.h')
-rw-r--r--include/negamax.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/negamax.h b/include/negamax.h
index 52a8fd2..f3a0a6c 100644
--- a/include/negamax.h
+++ b/include/negamax.h
@@ -2,16 +2,15 @@
#include <tak.h>
#include <xorshift64.h>
#include <cnn1986.h>
-#include <cnn1986_cache.h>
+#include <tt_treap.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);
-void negamax_compute_zobrist(uint64_t hash[4]);
+uint64_t negamax_compute_zobrist(void);
// Do negamax to depth negamax_search_depth and return PTN of best move
// in negamax_ptn, along with its value as the return. The