]> git.sesse.net Git - stockfish/blobdiff - src/evaluate.cpp
Use quiescence search for Probcut
[stockfish] / src / evaluate.cpp
index 217531a87bd1fde309823616f4a464a91d971f65..6783ffd8595fcaa32f1e584ffdd2fca8362aeb41 100644 (file)
@@ -165,7 +165,7 @@ namespace {
   // Assorted bonuses and penalties
   const Score BishopPawns       = S(  8, 12);
   const Score CloseEnemies      = S(  7,  0);
-  const Score Connectivity      = S(  2,  2);
+  const Score Connectivity      = S(  3,  1);
   const Score Hanging           = S( 52, 30);
   const Score HinderPassedPawn  = S(  8,  1);
   const Score KnightOnQueen     = S( 21, 11);
@@ -765,6 +765,7 @@ namespace {
                     +  8 * pe->pawn_asymmetry()
                     + 12 * pos.count<PAWN>()
                     + 16 * pawnsOnBothFlanks
+                    + 48 * !pos.non_pawn_material()
                     -136 ;
 
     // Now apply the bonus: note that we find the attacking side by extracting