Author: Robert Hyatt
Date: 05:11:08 03/25/99
Go up one level in this thread
On March 24, 1999 at 22:25:51, Dave Gomboc wrote:
>On March 24, 1999 at 19:55:58, Robert Hyatt wrote:
>
>>yes... I just tried to make the code short.
>>
>>it really looks like this:
>>
>> value=Evaluate();
>> if (value > alpha) {
>> if (value > beta) return(beta);
>> alpha=value;
>> }
>>
>>etc...
>>
>>Bob
>
>I am thinking that the third line should be
>
> if (value >= beta) return (beta);
>
>This probably wouldn't make much of a difference in Crafty, but in my Awari
>program where I am only counting material, it makes a big difference. :-)
>
>Dave Gomboc
good eyes... :)
correct
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.