group_atari_check(): Do not consider any defending move when attacking
[pachi/t.git] / uct / uct.h
blobc653668e01f71d15b03c1510682601c16eca00dd
1 #ifndef ZZGO_UCT_UCT_H
2 #define ZZGO_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