diff options
| author | tslil clingman <tslil@posteo.de> | 2021-01-21 00:11:01 -0500 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-08-28 19:37:41 +0100 |
| commit | 232013bda72120f69c1780c4af381884ca111ef4 (patch) | |
| tree | a5e30ed460329366137743ad46a65db44c7c1f36 /include/minimax_cnn1986.h | |
| parent | 2ac4a6e1d3b6440de22d95f48454d6282c78726d (diff) | |
Experimenting
Diffstat (limited to 'include/minimax_cnn1986.h')
| -rw-r--r-- | include/minimax_cnn1986.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/include/minimax_cnn1986.h b/include/minimax_cnn1986.h index 3ccc004..dd529e6 100644 --- a/include/minimax_cnn1986.h +++ b/include/minimax_cnn1986.h @@ -7,22 +7,14 @@ extern char ct1986_ptn[9]; extern inline void ct1986_display_progress(const uint8_t); float -ct1986_evaluate_black_win(void); +ct1986_evaluate_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, float alpha, float beta); - extern char ct1986_ptn[9]; -extern float ct1986_optimal; - +float ct1986_generate(const uint8_t max_depth); void ct1986_generate_ptn(void display_progress(void)); |
