Author: Andrew Platt
Date: 04:08:31 09/19/04
Go up one level in this thread
On September 19, 2004 at 00:13:54, Stuart Cracraft wrote: >>Make sure you reset the PV if you cutoff, etc. too. > >Thanks for the exposition/code -- But what is "reset the PV if you cutoff?" >The cutoff I see is in > > if (Score >= Beta) > { > return Score; > } > >but I see no resetting the PV in there??? Now I look further I see I don't either; I'm not sure what I was thinking! I do reset it if I'm about to return a mate / stalemate call but that's a redundant call because it only happens if there were no legal moves. And if there were no legal moves I wouldn't have had a chance to update it! Andy.
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.