Computer Chess Club Archives


Search

Terms

Messages

Subject: null move improvement ?

Author: Klaus Friedel

Date: 03:17:15 03/31/02


Has anybody ever tried something like that in his null move code :


	int nullDepth = depth - (NULL_REDUCE + 1)*DEPTH_BASE;

	if(tryNull){
		executeNullMove();
		beta -= NULL_BONUS;
		value = - search(nullDepth, -beta, -beta+1, ply + 1);
		undoNullMove();
		if(value >= beta){
			beta += NULL_BONUS;
			ttStore();
			return beta;
		}
		beta += NULL_BONUS;
	}


Bigger values of NULL_BONUS increase the count of nodes prunded (but you migth
oversee some tactics). Values of about 30cp made my engine ply slightly better
than the default null-move (NULL_BONUS = 0).


Klaus




This page took 0.01 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.