Author: Dave Gomboc
Date: 19:25:51 03/24/99
Go up one level in this thread
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
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.