Author: Dann Corbit
Date: 03:08:30 12/22/00
Go up one level in this thread
On December 22, 2000 at 04:57:27, David Rasmussen wrote:
>I don't see where the part about not nullmoving for the first N plies when in an
>endgame is.
(BTW -- NULL_MOVE_DEPTH is defined as 120)
Two tests here, one for piece count, and the other for depth. Notice also the
test for in check. Seems like a bad time to skip alternatives. ;-)
He is using a fractional indicator, with 60 points = 1 ply:
#if defined(NULL_MOVE_DEPTH)
pieces = (wtm) ? TotalWhitePieces : TotalBlackPieces;
if (do_null && !tree->in_check[ply] && pieces && (pieces > 5 || depth < 421))
And later, he also does this:
null_depth = (depth > 6 * INCPLY) ? null_max : null_min;
if (depth - null_depth >= INCPLY)
value = -Search (tree, -beta, 1 - beta, ChangeSide (wtm),
depth - null_depth, ply + 1, NO_NULL);
else
value = -Quiesce (tree, -beta, 1 - beta, ChangeSide (wtm), ply + 1);
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.