From 321f376df48e80bb7de132d4ce1e3056e0d3ccb2 Mon Sep 17 00:00:00 2001 From: Jean-loup Gailly Date: Tue, 26 Jul 2011 22:04:45 +0200 Subject: [PATCH] UCT linear dynkomi: switch earlier to the adaptive phase Also make white more pessimistic in handicap games. This improves performance. --- uct/dynkomi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uct/dynkomi.c b/uct/dynkomi.c index d02473d..3ed4145 100644 --- a/uct/dynkomi.c +++ b/uct/dynkomi.c @@ -139,14 +139,14 @@ uct_dynkomi_init_linear(struct uct *u, char *arg, struct board *b) * By move 100 white should still be behind but should have * caught up enough to avoid resigning. */ if (board_large(b)) { - l->moves[S_BLACK] = 200; + l->moves[S_BLACK] = 150; l->moves[S_WHITE] = 100; } /* The real value of one stone is twice the komi so about 15 points. * But use a lower value to avoid being too pessimistic as black * or too optimistic as white. */ - l->handicap_value[S_BLACK] = 7; - l->handicap_value[S_WHITE] = 5; + l->handicap_value[S_BLACK] = 8; + l->handicap_value[S_WHITE] = 2; l->komi_ratchet = INFINITY; l->green_zone = 0.85; -- 2.11.4.GIT