Replace UCT/montecarlo games=N parameter with -t =N main zzgo parameter
commit6832f4e727eacc797d1fb991794f89383226c6a3
authorPetr Baudis <pasky@ucw.cz>
Wed, 20 Jan 2010 00:41:01 +0000 (20 01:41 +0100)
committerPetr Baudis <pasky@ucw.cz>
Wed, 20 Jan 2010 00:41:01 +0000 (20 01:41 +0100)
tree59379888bdbbc0e3ad20ecb2a88c1293a2aa32ed
parent712523deda227cf5ac777c1ad00cd7290da8530c
Replace UCT/montecarlo games=N parameter with -t =N main zzgo parameter

genmove engine call now takes (struct time_info *) with time settings;
currently they are just passed through GTP verbatim from -t (if unset,
engine fills in defaults), in the future GTP will change it according
to time_left commands. Currently, the engines support just
TT_MOVE, TD_GAMES.
12 files changed:
engine.h
gtp.c
gtp.h
montecarlo/internal.h
montecarlo/montecarlo.c
patternscan/patternscan.c
random/random.c
replay/replay.c
timeinfo.h
uct/uct.c
uct/uct.h
zzgo.c