mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 14:27:45 +00:00
Remove Overload bonus
Compensate by giving the Hanging bonus to weak doubly-attacked non pawn enemies pieces. STC: http://tests.stockfishchess.org/tests/view/5bfd53c40ebc5902bced9237 LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 62107 W: 13664 L: 13622 D: 34821 LTC: http://tests.stockfishchess.org/tests/view/5bfd74700ebc5902bced9618 LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 86406 W: 14381 L: 14365 D: 57660 A possible follow up would be to tune the hanging bonus and/or try to simplify the hanging bonus condition. Bench: 3810849
This commit is contained in:
committed by
Stéphane Nicolet
parent
9b276a6596
commit
79e3710fd2
@@ -20,9 +20,9 @@ Balint Pfliegel
|
|||||||
Ben Koshy (BKSpurgeon)
|
Ben Koshy (BKSpurgeon)
|
||||||
Bill Henry (VoyagerOne)
|
Bill Henry (VoyagerOne)
|
||||||
braich
|
braich
|
||||||
|
Bojun Guo (noobpwnftw)
|
||||||
Brian Sheppard (SapphireBrand)
|
Brian Sheppard (SapphireBrand)
|
||||||
Bryan Cross (crossbr)
|
Bryan Cross (crossbr)
|
||||||
Bujun Guo (noobpwnftw)
|
|
||||||
Chris Cain (ceebo)
|
Chris Cain (ceebo)
|
||||||
Dan Schmidt
|
Dan Schmidt
|
||||||
Daniel Dugovic (ddugovic)
|
Daniel Dugovic (ddugovic)
|
||||||
@@ -31,7 +31,6 @@ David Zar
|
|||||||
Daylen Yang (daylen)
|
Daylen Yang (daylen)
|
||||||
DiscanX
|
DiscanX
|
||||||
Eelco de Groot
|
Eelco de Groot
|
||||||
ElbertoOne
|
|
||||||
erbsenzaehler
|
erbsenzaehler
|
||||||
Ernesto Gatti
|
Ernesto Gatti
|
||||||
Fabian Beuke (madnight)
|
Fabian Beuke (madnight)
|
||||||
@@ -76,6 +75,7 @@ Leonardo Ljubičić (ICCF World Champion)
|
|||||||
Leonid Pechenik (lp--)
|
Leonid Pechenik (lp--)
|
||||||
Linus Arver
|
Linus Arver
|
||||||
loco-loco
|
loco-loco
|
||||||
|
Lub van den Berg (ElbertoOne)
|
||||||
Luca Brivio (lucabrivio)
|
Luca Brivio (lucabrivio)
|
||||||
Lucas Braesch (lucasart)
|
Lucas Braesch (lucasart)
|
||||||
Lyudmil Antonov (lantonov)
|
Lyudmil Antonov (lantonov)
|
||||||
|
|||||||
+3
-5
@@ -160,7 +160,6 @@ namespace {
|
|||||||
constexpr Score KnightOnQueen = S( 20, 12);
|
constexpr Score KnightOnQueen = S( 20, 12);
|
||||||
constexpr Score LongDiagonalBishop = S( 44, 0);
|
constexpr Score LongDiagonalBishop = S( 44, 0);
|
||||||
constexpr Score MinorBehindPawn = S( 16, 0);
|
constexpr Score MinorBehindPawn = S( 16, 0);
|
||||||
constexpr Score Overload = S( 12, 6);
|
|
||||||
constexpr Score PawnlessFlank = S( 18, 94);
|
constexpr Score PawnlessFlank = S( 18, 94);
|
||||||
constexpr Score RestrictedPiece = S( 7, 6);
|
constexpr Score RestrictedPiece = S( 7, 6);
|
||||||
constexpr Score RookOnPawn = S( 10, 28);
|
constexpr Score RookOnPawn = S( 10, 28);
|
||||||
@@ -553,10 +552,9 @@ namespace {
|
|||||||
if (weak & attackedBy[Us][KING])
|
if (weak & attackedBy[Us][KING])
|
||||||
score += ThreatByKing;
|
score += ThreatByKing;
|
||||||
|
|
||||||
score += Hanging * popcount(weak & ~attackedBy[Them][ALL_PIECES]);
|
b = ~attackedBy[Them][ALL_PIECES]
|
||||||
|
| (nonPawnEnemies & attackedBy2[Us]);
|
||||||
b = weak & nonPawnEnemies & attackedBy[Them][ALL_PIECES];
|
score += Hanging * popcount(weak & b);
|
||||||
score += Overload * popcount(b);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Bonus for restricting their piece moves
|
// Bonus for restricting their piece moves
|
||||||
|
|||||||
Reference in New Issue
Block a user