1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-07-12 03:59:15 +00:00

Revert odd depths razoring

I have just made a new rule that no modification
that increases pruning is allowed if after 1000 games
ELO is not increased by at least 10 point (was +5 in this case)

Yes, I like this kind of nosense rules :-)
This commit is contained in:
Marco Costalba 2009-03-23 12:02:15 +01:00
parent 4d70e3aeac
commit a9e55d4326

View file

@ -1245,8 +1245,8 @@ namespace {
{ {
Value v = qsearch(pos, ss, beta-1, beta, Depth(0), ply, threadID); Value v = qsearch(pos, ss, beta-1, beta, Depth(0), ply, threadID);
if ( (v < beta - RazorMargin - RazorMargin / 4) if ( (v < beta - RazorMargin - RazorMargin / 4)
|| (depth < 3*OnePly && v < beta - RazorMargin) || (depth <= 2*OnePly && v < beta - RazorMargin)
|| (depth < 2*OnePly && v < beta - RazorMargin / 2)) || (depth <= OnePly && v < beta - RazorMargin / 2))
return v; return v;
} }