[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] The killer heuristic
From: |
Arend Bayer |
Subject: |
Re: [gnugo-devel] The killer heuristic |
Date: |
Fri, 24 Jan 2003 20:09:38 +0100 (CET) |
Evan wrote:
> The following patch implements the killer heuristic in tactical move
> ordering.
>
> The heuristic works like this: if black plays move A1, and white finds a
> successful response in move B, then when black tries A2 instead, it is
> reasonable to assume that B is a good response, and should be tried as the
> first move.
Nice. Do I understand the patch correctly that you don't use this
heuristic in defend1, defend2, attack2, attack3? Any reason for this?
Arend
Tiny little detail:
> @@ -1014,6 +1015,9 @@
>
> RTRACE("Can we rescue %1m?\n", str);
>
> + if (move && ON_BOARD(*move) && board[*move] == EMPTY)
> + xpos = *move;
> +
The ON_BOARD(*move) is redundant.