]> git.sesse.net Git - stockfish/commitdiff
Merge increased 'movecount' pruning
authorMarco Costalba <mcostalba@gmail.com>
Sun, 5 May 2013 11:43:26 +0000 (13:43 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 5 May 2013 11:46:26 +0000 (13:46 +0200)
Good at both short and long TC

15+0.05
LLR: 2.95 (-2.94,2.94)
Total: 13814 W: 2731 L: 2588 D: 8495

TC 60+0.05
LLR: 2.95 (-2.94,2.94)
Total: 18013 W: 3136 L: 2946 D: 11931

bench: 4306557

1  2 
src/search.cpp

diff --combined src/search.cpp
index f303b57684cc545be1a3e83cb3355a1008c4bb10,426852416e0e629fad606bfa0c15d4778f4c9bc4..daed19135359406ddfde08e3c5f825b5e918803c
@@@ -145,7 -145,7 +145,7 @@@ void Search::init() 
  
    // Init futility move count array
    for (d = 0; d < 32; d++)
-       FutilityMoveCounts[d] = int(3.001 + 0.25 * pow(double(d), 2.0));
+       FutilityMoveCounts[d] = int(3.001 + 0.3 * pow(double(d), 1.8));
  }
  
  
@@@ -264,10 -264,6 +264,10 @@@ void Search::think() 
  
  finalize:
  
 +  // When search is stopped this info is not printed
 +  sync_cout << "info nodes " << RootPos.nodes_searched()
 +            << " time " << Time::now() - SearchTime + 1 << sync_endl;
 +
    // When we reach max depth we arrive here even without Signals.stop is raised,
    // but if we are pondering or in infinite search, according to UCI protocol,
    // we shouldn't print the best move before the GUI sends a "stop" or "ponderhit"