Computer Chess Club Archives


Search

Terms

Messages

Subject: Selectivity at depth == 1

Author: Stuart Cracraft

Date: 11:53:52 01/16/06


Hi - does this make any sense?

#ifdef SELECTIVE
      // If depth is 1 and no reductions or extensions and eval is bad relative
to alpha
      // then search only captures, promotions or checking moves
      if (depth == 1 && reduction == 0 && extension == 0)
        if (eval(bd,QUIET) <= alpha+(1*uparams[pawn]))
          if (!(sml[mvi].cap!=0||sml[mvi].pro!=0||incheck(bd))) {
            unmakemv(bd);
            continue;
          }
#endif

I don't see any great improvement for 1*uparams[pawn], 3*uparams[pawn],
and 5*uparams[pawn].

The point is that if at depth == 1 and no reductions or extensions and
eval is worse with respect to alpha and it is not a capture, promotion
or the move didn't put us into check, then skip searching it.

I sense the above is not doing anything at all and that what I'm seeing
is just a non-change.

Perhaps someone can see what is wrong with the above.



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.