aboutsummaryrefslogtreecommitdiff
path: root/include/minimax_cnn1986.h
blob: 3bc330123f2924c4f724d0e2512327d2fefae529 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <stdint.h>
#include "tak.h"
#include "weights.h"

extern const float infty;
extern char ct1986_ptn[9];
extern inline void ct1986_display_progress(const uint8_t);

float
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);

extern char ct1986_ptn[9];
extern float ct1986_optimal;