gnugo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gnugo-devel] Inge's patches


From: Inge Wallin
Subject: Re: [gnugo-devel] Inge's patches
Date: Thu, 24 Jan 2002 15:59:09 +0100 (MET)

Arend wrote:
> Btw, some of the PASSES seem to be due to another change (which you
> did not intend I suppose): you now count 4* the size of the attacked
> strings as move value, instead of twice the size as before. I am not
> sure whether this will be an improvement in general.

Here is a bug fix.  If this breaks more tests than it fixes, we have
to do something about the valuation.

        -Inge

diff -ur gnugo/engine/value_moves.c gnugo-iw/engine/value_moves.c
--- gnugo/engine/value_moves.c  Tue Jan 22 16:02:50 2002
+++ gnugo-iw/engine/value_moves.c       Thu Jan 24 15:47:07 2002
@@ -1737,8 +1737,8 @@
        if (move_reason_known(pos, YOUR_ATARI_ATARI_MOVE, -1))
          break;
 
-       aa_value = 2 * worm[aa].effective_size;
-       bb_value = 2 * worm[bb].effective_size;
+       aa_value = worm[aa].effective_size;
+       bb_value = worm[bb].effective_size;
        this_value = 2 * gg_min(aa_value, bb_value);
 
        TRACE("  %1m: %f - both defends %1m (%f) and defends %1m (%f)\n",



reply via email to

[Prev in Thread] Current Thread [Next in Thread]