Merge branch 'master' into win2
[pachi/peepo.git] / uct / uct.h
blobb69da8ba7e5d0a532c08f6b7b502a261b9c7eda5
1 #ifndef PACHI_UCT_UCT_H
2 #define PACHI_UCT_UCT_H
4 #include "engine.h"
5 #include "move.h"
7 struct engine *engine_uct_init(char *arg, struct board *b);
9 struct board;
10 struct time_info;
11 bool uct_gentbook(struct engine *e, struct board *b, struct time_info *ti, enum stone color);
12 void uct_dumptbook(struct engine *e, struct board *b, enum stone color);
14 /* Evaluate feasibility of player @color playing at @c. Will simulate
15 * this move for time @ti, then return 1-max(opponent_win_likelihood). */
16 floating_t uct_evaluate(struct engine *e, struct board *b, struct time_info *ti, coord_t c, enum stone color);
18 #endif