From ddfa56dd6a000d515269be387b9cae2e19a18d32 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Mon, 25 Apr 2011 12:46:36 +0200 Subject: [PATCH] tree_node_dump(): Much more condensed output --- uct/tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uct/tree.c b/uct/tree.c index 797065c..563f958 100644 --- a/uct/tree.c +++ b/uct/tree.c @@ -195,7 +195,7 @@ tree_node_dump(struct tree *tree, struct tree_node *node, int l, int thres) children++; /* We use 1 as parity, since for all nodes we want to know the * win probability of _us_, not the node color. */ - fprintf(stderr, "[%s] %f %% %d [prior %f %% %d amaf %f %% %d]; hints %x; %d children <%"PRIhash">\n", + fprintf(stderr, "[%s] %.3f/%d [prior %.3f/%d amaf %.3f/%d] h=%x c#=%d <%"PRIhash">\n", coord2sstr(node->coord, tree->board), tree_node_get_value(tree, 1, node->u.value), node->u.playouts, tree_node_get_value(tree, 1, node->prior.value), node->prior.playouts, -- 2.11.4.GIT