From 22500eb54a36a2b5f72d084e4b1caefa9a1c9400 Mon Sep 17 00:00:00 2001 From: Jean-loup Gailly Date: Sat, 27 Aug 2011 11:48:46 +0200 Subject: [PATCH] UCB1AMAF: remove playout_amaf_nakade option (was no longer used) --- uct/internal.h | 2 +- uct/uct.c | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/uct/internal.h b/uct/internal.h index 4f06823..80810cc 100644 --- a/uct/internal.h +++ b/uct/internal.h @@ -33,7 +33,7 @@ struct uct { bool pass_all_alive; /* Current value */ bool territory_scoring; int expand_p; - bool playout_amaf, playout_amaf_nakade; + bool playout_amaf; bool amaf_prior; int playout_amaf_cutoff; int dumpthres; diff --git a/uct/uct.c b/uct/uct.c index 722de5a..c7f3f39 100644 --- a/uct/uct.c +++ b/uct/uct.c @@ -538,7 +538,6 @@ uct_state_init(char *arg, struct board *b) u->expand_p = 8; u->dumpthres = 1000; u->playout_amaf = true; - u->playout_amaf_nakade = false; u->amaf_prior = false; u->max_tree_size = 1408ULL * 1048576; u->fast_alloc = true; @@ -728,15 +727,6 @@ uct_state_init(char *arg, struct board *b) u->playout_amaf = false; else u->playout_amaf = true; - } else if (!strcasecmp(optname, "playout_amaf_nakade")) { - /* Whether to include nakade moves from playouts - * in the AMAF statistics; this tends to nullify - * the playout_amaf effect by adding too much - * noise. */ - if (optval && *optval == '0') - u->playout_amaf_nakade = false; - else - u->playout_amaf_nakade = true; } else if (!strcasecmp(optname, "playout_amaf_cutoff") && optval) { /* Keep only first N% of playout stage AMAF * information. */ -- 2.11.4.GIT