Computer Chess Club Archives


Search

Terms

Messages

Subject: search instability?

Author: Daniel Shawul

Date: 01:05:24 12/06/03


hi

here is my PVS code

   if(first move)
       score=-search(-beta,-alpha,depth-1);
   else
   {
       score=-search(-alpha-1,-alpha,depth-1);
       if(score>alpha && score<beta)
          score=-search(-score,-alpha,depth-1);
   }

should i use (-beta,-alpha) when search fails instead of (-score,-alpha).
can the algorithm handle search instablity correctly?

regards
daniel



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.