Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Crafty question

Author: Ralph Stoesser

Date: 12:24:50 07/09/03

Go up one level in this thread


On July 09, 2003 at 15:12:08, Ralph Stoesser wrote:

>On July 09, 2003 at 13:18:41, Jarkko Pesonen wrote:
>
>>Can anyone say how easy it is to change crafty's search code (search(r).c )
>>so that searches brute force all the moves in the first 4 plys and the continues
>>as usual.
>>
>>Thanks in advance
>>Jarkko
>
>Should be easy. Disable the null move part for ply < 5 in the Search() function
>in file search.c.
>
>orig from Search(...):
>if (do_null && !tree->in_check[ply] && pieces && (pieces>5 || depth<7*INCPLY))
>
>Change it to:
>if (do_null && !tree->in_check[ply] && pieces && (pieces>5 || depth<7*INCPLY) &
>ply<5)


typo in "Change it to": if (do_null && !tree->in_check[ply] && pieces &&
(pieces>5 || depth<7*INCPLY) && ply<5)


-Ralph


>
>Be sure to not use futility cutoffs on Crafty build.
>I think, that's all (searchr.c shouldn't need changes, since there is no null
>move for ply 1).
>No warranty, I'm a newbie Crafty fan :)
>
>-Ralph



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.