From f8edea17c6755109544fd23859943480aa1d59ab Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Thu, 18 Sep 2008 17:29:56 +0200 Subject: [PATCH] UCT: Better WINNER message --- uct/uct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uct/uct.c b/uct/uct.c index 4ebcada..d51959a 100644 --- a/uct/uct.c +++ b/uct/uct.c @@ -214,7 +214,7 @@ promoted:; return coord_copy(pass); } if (UDEBUGL(0)) - fprintf(stderr, "*** WINNER is %s (%d,%d) with score %1.4f (%d games)\n", coord2sstr(best->coord, b), coord_x(best->coord, b), coord_y(best->coord, b), best->u.value, u->t->root->u.playouts); + fprintf(stderr, "*** WINNER is %s (%d,%d) with score %1.4f (%d/%d games)\n", coord2sstr(best->coord, b), coord_x(best->coord, b), coord_y(best->coord, b), best->u.value, best->u.playouts, u->t->root->u.playouts); if (best->u.value < u->resign_ratio && !is_pass(best->coord)) { tree_done(u->t); u->t = NULL; return coord_copy(resign); -- 2.11.4.GIT