Computer Chess Club Archives


Search

Terms

Messages

Subject: question to crafty coding of IID

Author: Volker Böhm

Date: 16:54:08 05/22/04


Hi,

trying to understand why my IID does not work, I read crafty´s IID code. (I´ve
solved my problem, in crafty the solution is hidden in the "do_null" flag as it
is used as a "do_iid" flag too).

But I have one question left:

Crafty does IID only if Alpha == RootAlpha && Beta == RootBeta.
In IID Crafty calls "search" with current Alpha, Beta window and depth - 2.

When IID search fails low crafty searches again with window -MATE, Beta. With
this new window crafty would not be able to "iterative deepening" as when
"search" is called with window (-MATE, Beta) he will not make IID most of the
times as -MATE is not a Rootwindow-Bound.

For me it would make more sence to change the if statement to Alpha <= RootAlpha
&& Beta >= RootBeta.

Am I missing something?

Greetings Volker



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.