aboutsummaryrefslogtreecommitdiff
path: root/include/ct1986.c
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2021-01-16 22:55:34 -0500
committertslil <tslil@posteo.de>2026-08-28 19:37:41 +0100
commit0f600d09518b6959ad13c3cc513f0d5f1be89d48 (patch)
tree87c43c75e781669ea565796da77391f747f079ca /include/ct1986.c
parent12354e76ae8a1339ff6505f7187ec692bb5a1e53 (diff)
Beginning to work on probabilistic depth now that MCU is out
Diffstat (limited to 'include/ct1986.c')
-rw-r--r--include/ct1986.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/include/ct1986.c b/include/ct1986.c
index a3b089e..cf46bfa 100644
--- a/include/ct1986.c
+++ b/include/ct1986.c
@@ -110,7 +110,7 @@ ct1986_evaluate_black_win(void) {
}
// ===================================================================
-// Minimax using the above evaluator
+// α-β probabilistic depth minimax using the above evaluator
// ===================================================================
static void
@@ -124,15 +124,6 @@ previous_ply(void) {
}
}
-/*
- * static inline int
- * win_evaluate_or_recurse(const uint8_t cur_depth,
- * const uint8_t max_depth, const uint8_t min,
- * float* alpha, float* beta, float *optimal) {
- * float this;
- * enum WIN_TYPE w = 0xFF;
- */
-
static float val;
static enum WIN_TYPE w;