aboutsummaryrefslogtreecommitdiff
path: root/include/ct1986.h
diff options
context:
space:
mode:
authortslil <tslil@posteo.de>2021-01-14 00:33:42 -0500
committertslil <tslil@posteo.de>2026-08-28 19:37:41 +0100
commit718b116c05ef36215f6c6db79a4013f26a96b985 (patch)
treef4a92a705a1edde7088c07a18393dec4343bf4b5 /include/ct1986.h
parentc78258adc03936fff70707ebf1942710a7b59416 (diff)
Trying alpha-beta pruning. There's a bug somewhere ...
Diffstat (limited to 'include/ct1986.h')
-rw-r--r--include/ct1986.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/ct1986.h b/include/ct1986.h
index 877c301..ef56c1f 100644
--- a/include/ct1986.h
+++ b/include/ct1986.h
@@ -11,9 +11,13 @@ ct1986_evaluate_black_win(void);
// Generate PTN of the ````best'''' action and store it in ct1986_ptn,
// along with its value as the return. The ct1986_display_progress
// function pointer is called on every new square.
+
+float ct1986_generate(const uint8_t max_depth);
+
+// Access to the internal method
float
ct1986_minimax(const uint8_t cur_depth, const uint8_t max_depth,
- const uint8_t min);
+ const uint8_t min, float alpha, float beta);
extern char ct1986_ptn[9];
extern float ct1986_optimal;