mirror of
https://github.com/sockspls/badfish
synced 2025-07-11 19:49:14 +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:
parent
4d70e3aeac
commit
a9e55d4326
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue