Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: a question about redesigning my alphabeta

Author: Robert Hyatt

Date: 20:09:17 03/13/04

Go up one level in this thread


On March 13, 2004 at 15:51:12, Uri Blass wrote:

>I redesign my alphabeta and I think to start my alphabeta by trying null move
>because checking for repetition or for hash cut off can be done at the end of
>alpha beta.
>
>When I look at Crafty's code I see that Crafty starts not with null move but
>with checking for repetition and hash.
>
>My question is if there is a soecial reason that I do not understand that Crafty
>does it.
>It seems to me a waste of time to call alphabeta with all the parameters when it
>can be avoided.
>
>Uri


Simplicity, nothing more.  You can take the code from the front of search and
move it into the MakeMove/UnmakeMove loop.  I don't think there is enough
difference to measure.  Procedure calls are not expensive.    Most of the time
the repetition check fails anyway.



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.