Author: Dann Corbit
Date: 15:13:36 11/17/05
Go up one level in this thread
On November 17, 2005 at 17:05:24, Jarkko Pesonen wrote:
>http://www.uciengines.de/UCI-Engines/TogaII/togaii.html
>
>engine name Toga 1.0MV.6
>
static int full_search(board_t * board, int alpha, int beta, int depth, int
height, mv_t pv[], int node_type) {
// ...
// I set FutilityMargin in the general case, because some paths
// could leave it uninitialized.
int FutilityMargin = FutilityMargin3;
Consider the following when depth >= 3:
if (depth < 2)
FutilityMargin = FutilityMargin1;
else if (depth < 3)
FutilityMargin = FutilityMargin2;
/* else
FutilityMargin = FutilityMargin3; */
Perhaps futility pruning is never used in such a case, but then if so there is
no harm in setting the value.
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.