]> git.sesse.net Git - stockfish/commitdiff
Try more aggressive version
authorJoona Kiiski <joona.kiiski@gmail.com>
Wed, 17 Apr 2013 06:58:59 +0000 (07:58 +0100)
committerJoona Kiiski <joona.kiiski@gmail.com>
Wed, 17 Apr 2013 06:58:59 +0000 (07:58 +0100)
src/evaluate.cpp
src/material.cpp

index 3481b03d7c77ad2a01622eb7abd1960ffab7ca4a..dd26e46986e9ad7fb57829ddf4ed5f3992f349cc 100644 (file)
@@ -584,7 +584,7 @@ Value do_evaluate(const Position& pos, Value& margin) {
 
         // Penalty for bishop with same coloured pawns
         if (Piece == BISHOP)
-            score -= make_score(4, 4) * ei.pi->same_colored_pawn_count(s, Us); 
+            score -= make_score(8, 12) * ei.pi->same_colored_pawn_count(s, Us); 
 
         // Bishop and knight outposts squares
         if (    (Piece == BISHOP || Piece == KNIGHT)
index 3474ccd576c5e613c7fd3373b0e71edf6fd1ca1c..208227e5223b87665377ea2395df11c76f055340 100644 (file)
@@ -39,14 +39,14 @@ namespace {
   const Value RedundantRookPenalty  = Value(554);
 
   //                                  pair  pawn knight bishop rook queen
-  const int LinearCoefficients[6] = { 1617, -162, -1172,  -62,  105,  26 };
+  const int LinearCoefficients[6] = { 1617, -162, -1172, -190,  105,  26 };
 
   const int QuadraticCoefficientsSameColor[][PIECE_TYPE_NB] = {
     // pair pawn knight bishop rook queen
     {   7                               }, // Bishop pair
     {  39,    2                         }, // Pawn
     {  35,  271,  -4                    }, // Knight
-    {   7,   25,   4,    7              }, // Bishop
+    {   7,  105,   4,    7              }, // Bishop
     { -27,   -2,  46,   100,   56       }, // Rook
     {  58,   29,  83,   148,   -3,  -25 }  // Queen
   };