Author: Andrei Fortuna
Date: 09:53:12 04/10/01
Go up one level in this thread
I wonder if it would be wise to limit the positional_score inside eval(),
something like :
eval(...){
...
if (pos_score < -2*PAWN_V) pos_score = -2*PAWN_V;
else if (pos_score > +2*PAWN_V) pos_score = +2*PAWN_V;
return material + pos_score;
}
The advantage is that I can use futility and other methods of pruning without
worrying about big scores.
The drawback I think is that between two positions both with pos_score >
2*PAWN_V it could choose the one with lower pos_score because of bounding, still
I'm not sure this is a problem (all of the above assuming that the bigger
positional scores I can get will be around 1 - 1.5 pawns for one element).
Has anyone tried this idea before ?
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.