mirror of
https://github.com/sockspls/badfish
synced 2025-07-12 03:59:15 +00:00
Reduction Simplification
Simplify reduction formula by removing a parameter. STC: LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 35798 W: 6368 L: 6272 D: 23158 LTC: LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 125375 W: 15827 L: 15839 D: 93709 Bench: 4735038
This commit is contained in:
parent
67d19447f4
commit
b915fdc889
1 changed files with 0 additions and 2 deletions
|
@ -183,8 +183,6 @@ void Search::init() {
|
||||||
for (int mc = 1; mc < 64; ++mc)
|
for (int mc = 1; mc < 64; ++mc)
|
||||||
{
|
{
|
||||||
double r = log(d) * log(mc) / 2;
|
double r = log(d) * log(mc) / 2;
|
||||||
if (r < 0.80)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
Reductions[NonPV][imp][d][mc] = int(std::round(r));
|
Reductions[NonPV][imp][d][mc] = int(std::round(r));
|
||||||
Reductions[PV][imp][d][mc] = std::max(Reductions[NonPV][imp][d][mc] - 1, 0);
|
Reductions[PV][imp][d][mc] = std::max(Reductions[NonPV][imp][d][mc] - 1, 0);
|
||||||
|
|
Loading…
Add table
Reference in a new issue