UCT: Move score/value statistics from tree to dynkomi structure
commit3ad68a91e498062706c1494d9d4ba93666230707
authorPetr Baudis <pasky@ucw.cz>
Tue, 23 Mar 2010 23:38:23 +0000 (24 00:38 +0100)
committerPetr Baudis <pasky@ucw.cz>
Tue, 23 Mar 2010 23:38:23 +0000 (24 00:38 +0100)
tree46e6a89a39d13d22a65d51f4810db631dd67968a
parentc7d181a1c401bdbf2b462698cb615446225f2dcf
UCT: Move score/value statistics from tree to dynkomi structure

This also fixes a bug with komi information being reset sometimes at the
game end because node promotion can fail and the tree is reset.
uct/dynkomi.c
uct/dynkomi.h
uct/tree.c
uct/tree.h
uct/uct.c
uct/walk.c