]> git.sesse.net Git - stockfish/commitdiff
Merge Joona's razoring tweaks
authorMarco Costalba <mcostalba@gmail.com>
Tue, 28 Apr 2009 06:51:11 +0000 (08:51 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Tue, 28 Apr 2009 07:00:09 +0000 (09:00 +0200)
After proof testing on 3 different engines these
are the results:

Stockfish - Toga II 1.4.1SE +130 -132 =132 49.75%
Stockfish - Deep Sieng 3.0  +145 -110 =150 54.45%
Stockfish - HIARCS 12 MP    +94  -149 =150 43.00%

So it seems no regressions occurs, although also no
improvment. But anyhow this patch increases Stockfish
strenght against itself, so merge it.

Note that this patch not only adds back razoring at depth
one, but also increases razor depth limit from 3 to 4
because hard coded depth 4 limit is no more overwritten
by UCI parameter that otherwise defaults to 3.

1  2 
src/search.cpp
src/ucioption.cpp

diff --cc src/search.cpp
Simple merge
index 006c4c56a59e2e223a4cafa441259e1463fa5f1d,63c27403356251b4d703f52b825904e74f1a6f6e..442ca924e10761a030213f8a32533ad943509963
@@@ -125,12 -125,9 +125,8 @@@ namespace 
      o["Full Depth Moves (PV nodes)"] = Option(14, 1, 100);
      o["Full Depth Moves (non-PV nodes)"] = Option(3, 1, 100);
      o["Threat Depth"] = Option(5, 0, 100);
 -    o["Selective Plies"] = Option(7, 0, 10);
      o["Futility Pruning (Main Search)"] = Option(true);
      o["Futility Pruning (Quiescence Search)"] = Option(true);
-     o["Futility Margin (Quiescence Search)"] = Option(50, 0, 1000);
-     o["Futility Margin Scale Factor (Main Search)"] = Option(100, 0, 1000);
-     o["Maximum Razoring Depth"] = Option(3, 0, 4);
-     o["Razoring Margin"] = Option(300, 150, 600);
      o["LSN filtering"] = Option(true);
      o["LSN Time Margin (sec)"] = Option(4, 1, 10);
      o["LSN Value Margin"] = Option(200, 100, 600);