Author: Antonio Dieguez
Date: 14:23:02 09/01/01
Go up one level in this thread
On September 01, 2001 at 17:19:44, Antonio Dieguez wrote:
>
>>int ev=evaluate(...)
>>
>>if (ev>=beta+window)
>>{ return beta; }
>>
>>then see captures with this window: (alpha-window,beta)
>>
>>if that alpha-window was not improved then return alpha.
>>
>>(less nodes, and now exactly the same, if I am not mistaken...)
>
>it is not the same! but perhaps you like it better anyway.
>
>It is not the same because in your original code, when your quiesce return a
>value *by evaluation*, inside the window, that pos. is not pruned then but now
>it can... well, I give up! :)
This way:
int ev=evaluate(...)
if (ev>=beta+window)
{ return beta; }
then see captures with this window: (alpha-window,beta)
if that alpha-window was not improved AND ev<=alpha-window then return alpha.
------------
IT'S THE SAME. I sure! :) :)
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.