From b2f02372df186d933fe610f4bf65c103d2471830 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Thu, 24 Sep 2009 04:50:43 +0200 Subject: [PATCH] uct_genmove(): Print progress status by default instead of the WINNER line --- uct/uct.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uct/uct.c b/uct/uct.c index 6fdb123..38d7670 100644 --- a/uct/uct.c +++ b/uct/uct.c @@ -375,6 +375,8 @@ uct_genmove(struct engine *e, struct board *b, enum stone color) return coord_copy(pass); } if (UDEBUGL(0)) + progress_status(u, u->t, color, played_games); + if (UDEBUGL(1)) fprintf(stderr, "*** WINNER is %s (%d,%d) with score %1.4f (%d/%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, played_games); if (best->u.value < u->resign_ratio && !is_pass(best->coord)) { tree_done(u->t); u->t = NULL; -- 2.11.4.GIT