diff options
| author | tslil <tslil@posteo.de> | 2021-01-14 00:33:42 -0500 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2021-01-14 00:33:42 -0500 |
| commit | bb3e2916ac2df096553da6a9c42f15ee3a6a02b8 (patch) | |
| tree | f4a92a705a1edde7088c07a18393dec4343bf4b5 /include/ct1986.h | |
| parent | 8f4b533718b2294aabbd5f2cea0eda17cf4ec799 (diff) | |
Trying alpha-beta pruning. There's a bug somewhere ...
Diffstat (limited to 'include/ct1986.h')
| -rw-r--r-- | include/ct1986.h | 6 |
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; |
