gnugo-devel
[Top][All Lists]
Advanced

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

Re: [gnugo-devel] multiple either_move reasons


From: Arend Bayer
Subject: Re: [gnugo-devel] multiple either_move reasons
Date: Mon, 26 Aug 2002 20:14:55 +0200 (CEST)

On Mon, 26 Aug 2002, Evan Berggren Daniel wrote:

> /* FIXME: We need a policy if a move has several EITHER_MOVE
>  * reasons. Most likely not all of them can be achieved.
>
> Would a reasonable answer here be to add the odd numbered highest values
> together?  eg, if there are four possible groups to save, and not all of
> them can be, the most valuable one is saved, and then the next most
> valuable one is killed, and then the third is saved, etc?  Granted it's
> not ideal, but wouldn't it be better than just taking the top move?

Well, I think the true answer is that only look-ahead will be able to
solve this. If we know the move attacks either A or B, and also either B
or C, it could be that it can definitely capture 2 of the three, or that
it could capture either B or (A and B)...we can't know without reading
this out.

At the moment we just add min(size(A), size(B)) + min(size(B), size(C)).
This doesn't make much sense, and better rules could be applied here;
they would have to be tried out -- feel free to try s.th..

But I don't think it is a very frequent problem.

Arend






reply via email to

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