From 0a3a2a5a8222666b19b080f21208d20b97a52407 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Sun, 12 Aug 2012 16:12:32 +0200 Subject: [PATCH] UCT pondering: Enable by default --- README | 8 ++++---- uct/uct.c | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README b/README index 17c950f..88b8086 100644 --- a/README +++ b/README @@ -52,11 +52,11 @@ How to run ~~~~~~~~~~ By default, Pachi will run on a single CPU core, taking up to 1.4GiB -of memory, not pondering and taking completely arbitrary amount of time -per turn. You can adjust these parameters by passing it extra command +of memory and taking completely arbitrary amount of time per turn. +You can adjust these parameters by passing it extra command line options: - ./pachi -t _1200 threads=8,max_tree_size=3072,pondering + ./pachi -t _1200 threads=8,max_tree_size=3072 This will make Pachi play with time settings 20:00 S.D. (unless it gets told otherwise over GTP), with 8 threads, taking up to 3GiB @@ -95,7 +95,7 @@ _does_ take into account the point size, strives for a maximum (reasonable) win margin when winning and minimal point loss when losing. This is possible by using the maximize_score parameter, e.g.: - ./pachi -t _1200 threads=8,pondering,maximize_score + ./pachi -t _1200 threads=8,maximize_score This enables an aggressive dynamic komi usage and end result margin is included in node values aside of winrate. Pachi will also enter diff --git a/uct/uct.c b/uct/uct.c index 3eac436..8db9ff9 100644 --- a/uct/uct.c +++ b/uct/uct.c @@ -581,6 +581,8 @@ uct_state_init(char *arg, struct board *b) u->thread_model = TM_TREEVL; u->virtual_loss = 1; + u->pondering_opt = true; + u->fuseki_end = 20; // max time at 361*20% = 72 moves (our 36th move, still 99 to play) u->yose_start = 40; // (100-40-25)*361/100/2 = 63 moves still to play by us then u->bestr_ratio = 0.02; -- 2.11.4.GIT