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>2021-01-25 17:22:48 -0500
commit221358dbf50844ecfd83ee4b91d09dd8b4a4e556 (patch)
treeaeb5b1ad5b0df50b0ce5c484d732ffd6534223e0 /include/negamax.h
parent142086000ae56f69ac4cd757afc3e79be5881117 (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