From 3e960f8df2b52fcfd0410c5c4c7796f0960f83b7 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Sat, 8 Jan 2011 02:36:05 +0100 Subject: [PATCH] UCT Local Trees: New default values, tuned for local_tree=1 Should give about 20 ELO boost (increasing with playout count) over normal; you still need to enable local trees manually to make use of this. --- uct/policy/ucb1amaf.c | 2 +- uct/uct.c | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/uct/policy/ucb1amaf.c b/uct/policy/ucb1amaf.c index b194339..60c96cc 100644 --- a/uct/policy/ucb1amaf.c +++ b/uct/policy/ucb1amaf.c @@ -241,7 +241,7 @@ policy_ucb1amaf_init(struct uct *u, char *arg) b->fpu = INFINITY; b->check_nakade = true; b->sylvain_rave = true; - b->ltree_rave = 1.0f; + b->ltree_rave = 0.75f; if (arg) { char *optspec, *next = arg; diff --git a/uct/uct.c b/uct/uct.c index e5d38bc..040fd3d 100644 --- a/uct/uct.c +++ b/uct/uct.c @@ -553,7 +553,10 @@ uct_state_init(char *arg, struct board *b) u->dynkomi_mask = S_BLACK | S_WHITE; u->tenuki_d = 4; - u->local_tree_aging = 2; + u->local_tree_aging = 80; + u->local_tree_allseq = 1; + u->local_tree_rootseqval = 1; + u->local_tree_depth_decay = 1.5; u->plugins = pluginset_init(b); @@ -894,7 +897,7 @@ uct_state_init(char *arg, struct board *b) * than nodes near the root. */ u->local_tree_depth_decay = atof(optval); } else if (!strcasecmp(optname, "local_tree_allseq")) { - /* By default, only complete sequences are stored + /* If disabled, only complete sequences are stored * in the local tree. If this is on, also * subsequences starting at each move are stored. */ u->local_tree_allseq = !optval || atoi(optval); @@ -910,9 +913,9 @@ uct_state_init(char *arg, struct board *b) * sequences first moves instead. */ u->local_tree_pseqroot = !optval || atoi(optval); } else if (!strcasecmp(optname, "local_tree_rootseqval")) { - /* By default, expected node value is computed by + /* If disabled, expected node value is computed by * summing up values through the whole descent. - * With this settings, expected node value for + * If enabled, expected node value for * each sequence is the value at the root of the * sequence. */ u->local_tree_rootseqval = !optval || atoi(optval); -- 2.11.4.GIT