Reduce connected bonus for horde
authorFabian Fichter <ianfab@users.noreply.github.com>
Sun, 16 Jun 2019 08:17:18 +0000 (10:17 +0200)
committerFabian Fichter <ianfab@users.noreply.github.com>
Sun, 16 Jun 2019 10:15:52 +0000 (12:15 +0200)
Revert parameter change caused by mis-merge.

horde STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 500 W: 302 L: 193 D: 5
http://35.161.250.236:6543/tests/view/5d05fb8b6e23db34f4206bd6

horde LTC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 343 W: 222 L: 116 D: 5
http://35.161.250.236:6543/tests/view/5d0603346e23db34f4206bd9

src/pawns.cpp

index a3a7c9f..f0e86e9 100644 (file)
@@ -132,7 +132,7 @@ namespace {
             int v =  Connected[r] * (phalanx ? 3 : 2)  * (r == RANK_2 && pos.captures_to_hand() ? 3 : 1) / (opposed ? 2 : 1)
                    + 17 * popcount(support);
             if (r >= RANK_4 && pos.count<PAWN>(Us) > popcount(pos.board_bb()) / 4)
-                v = std::max(v, popcount(support | phalanx) * 100) / (opposed ? 2 : 1);
+                v = std::max(v, popcount(support | phalanx) * 50) / (opposed ? 2 : 1);
             score += make_score(v, v * (r - 2) / 4);
         }
         else if (!neighbours)