mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 06:17:49 +00:00
Take in account odd depths in razoring formula
This is somewhat taken from Stockfish 1.2 Default, only the razoring thresold are updated, not the razoring depth. At the end razoring is a bit more aggressive. Results seems slightly positive. After 999 games +239 =536 -224 Elo +5 Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
+2
-2
@@ -1247,8 +1247,8 @@ namespace {
|
||||
{
|
||||
Value v = qsearch(pos, ss, beta-1, beta, Depth(0), ply, threadID);
|
||||
if ( (v < beta - RazorMargin - RazorMargin / 4)
|
||||
|| (depth <= 2*OnePly && v < beta - RazorMargin)
|
||||
|| (depth <= OnePly && v < beta - RazorMargin / 2))
|
||||
|| (depth < 3*OnePly && v < beta - RazorMargin)
|
||||
|| (depth < 2*OnePly && v < beta - RazorMargin / 2))
|
||||
return v;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user