uct_pass_is_safe: only require us to capture dead opponents
commit2abac87d4a60c959b39368ab51cf87624af6931e
authorJean-loup Gailly <jloup@gailly.net>
Fri, 23 Mar 2012 15:18:30 +0000 (23 16:18 +0100)
committerJean-loup Gailly <jloup@gailly.net>
Fri, 23 Mar 2012 15:18:30 +0000 (23 16:18 +0100)
tree40fa71723921d938e95cfe1ba24ae4debe8d40cb
parent9311d22b3219074b7601a2eeeab5a8e0ca8df5f1
uct_pass_is_safe: only require us to capture dead opponents

We can deadlock if we also require the opponent to capture our dead stones.
See example t-regress/games/2012-03-21-pachi2-Hujisawa-3.sgf
Several bugs are exposed by this example, this is the first of several fixes.
t-regress/games/2012-03-21-pachi2-Hujisawa-3.sgf [new file with mode: 0644]
uct/uct.c