aboutsummaryrefslogtreecommitdiff
path: root/include/negamax.h
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2021-01-25 17:22:48 -0500
committertslil <tslil@posteo.de>2026-08-28 19:37:41 +0100
commit8418ddf3187ec0f526ef5d8dbb0689fc786fac92 (patch)
treeaeb5b1ad5b0df50b0ce5c484d732ffd6534223e0 /include/negamax.h
parent034b4035f584f83669f7c4332d8befc3237e160c (diff)
Still some bugs, standing stone becomes flat at depth4 self-play??
Diffstat (limited to 'include/negamax.h')
-rw-r--r--include/negamax.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/include/negamax.h b/include/negamax.h
index 8a67638..c902d3c 100644
--- a/include/negamax.h
+++ b/include/negamax.h
@@ -10,10 +10,15 @@
extern const float infty;
extern char negamax_ptn[9];
extern uint8_t negamax_search_depth;
-extern inline void negamax_display_progress(const uint8_t);
-void negamax_init(const uint8_t new_board_size);
-void negamax_free(void);
+extern inline void
+negamax_display_progress(const uint8_t, const uint32_t length);
+
+void
+negamax_init(const uint8_t new_board_size);
+
+void
+negamax_free(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