Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Small changes to recap and possible improvement

Author: Georg v. Zimmermann

Date: 14:31:42 01/25/01

Go up one level in this thread


Here is the change, it really is very simple and I would be suprised if none was
using it:

    if (Captured(tree->current_move[ply]) &&
        Captured(tree->current_move[ply-1]) &&
        To(tree->current_move[ply-1]) == To(tree->current_move[ply]) &&
/*        (p_values[Captured(tree->current_move[ply-1])+7] ==
         p_values[Captured(tree->current_move[ply])+7] ||
         Promote(tree->current_move[ply-1])) &&
*/
/* New Recap, Georg v. Zimmermann  */
	(!Attacked(tree, To(tree->current_move[ply]),ChangeSide(wtm))) &&

        !(tree->extended_reason[ply-1]&recapture_extension)) {
      tree->extended_reason[ply]|=recapture_extension;
      tree->recapture_extensions_done++;
      extensions+=(full_extension) ? recap_depth : recap_depth>>1;
    }

This is triggered far more often, so you need to reduce the recap_depth to 30
(1/2 ply) or so.

Georg



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.