X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fevaluate.cpp;h=486bb810cb995b6f0a356f95f85ca2a0a09a1abd;hb=2a461b4b745b2542f6e13bab8c60abdb366bc128;hp=0bc38badd5d90d7dbb8bc40de0e1e110608f62e2;hpb=3444b9473570e5c188cbc886e8177d83e082b7a5;p=stockfish diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 0bc38bad..486bb810 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -58,15 +58,15 @@ namespace { // parameters at 100, which looks prettier. // // Values modified by Joona Kiiski - const int WeightMobilityMidgameInternal = 0x0FA; - const int WeightMobilityEndgameInternal = 0x10A; - const int WeightPawnStructureMidgameInternal = 0x0EC; - const int WeightPawnStructureEndgameInternal = 0x0CD; - const int WeightPassedPawnsMidgameInternal = 0x108; - const int WeightPassedPawnsEndgameInternal = 0x109; - const int WeightKingSafetyInternal = 0x0F7; - const int WeightKingOppSafetyInternal = 0x101; - const int WeightSpaceInternal = 0x02F; + const int WeightMobilityMidgameInternal = 248; + const int WeightMobilityEndgameInternal = 271; + const int WeightPawnStructureMidgameInternal = 233; + const int WeightPawnStructureEndgameInternal = 201; + const int WeightPassedPawnsMidgameInternal = 252; + const int WeightPassedPawnsEndgameInternal = 259; + const int WeightKingSafetyInternal = 247; + const int WeightKingOppSafetyInternal = 259; + const int WeightSpaceInternal = 46; // Mobility and outposts bonus modified by Joona Kiiski // @@ -173,14 +173,14 @@ namespace { const Value UnstoppablePawnValue = Value(0x500); // Rooks and queens on the 7th rank (modified by Joona Kiiski) - const Value MidgameRookOn7thBonus = Value(43); - const Value EndgameRookOn7thBonus = Value(91); - const Value MidgameQueenOn7thBonus = Value(28); - const Value EndgameQueenOn7thBonus = Value(53); + const Value MidgameRookOn7thBonus = Value(47); + const Value EndgameRookOn7thBonus = Value(98); + const Value MidgameQueenOn7thBonus = Value(27); + const Value EndgameQueenOn7thBonus = Value(54); // Rooks on open files (modified by Joona Kiiski) - const Value RookOpenFileBonus = Value(42); - const Value RookHalfOpenFileBonus = Value(24); + const Value RookOpenFileBonus = Value(43); + const Value RookHalfOpenFileBonus = Value(19); // Penalty for rooks trapped inside a friendly king which has lost the // right to castle.