mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +08:00
Linear Protector bonus by distance
Replacing the old Protector table with a simple linear formula which takes into account a different slope for each different piece type. The idea of this simplification of Protector is originated by Alain (Rocky) STC: LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 70382 W: 12859 L: 12823 D: 44700 LTC: LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 61554 W: 8098 L: 8031 D: 45425 Bench: 6107863 Closes #1099
This commit is contained in:
@@ -184,10 +184,10 @@ enum Value : int {
|
||||
VALUE_MATED_IN_MAX_PLY = -VALUE_MATE + 2 * MAX_PLY,
|
||||
|
||||
PawnValueMg = 188, PawnValueEg = 248,
|
||||
KnightValueMg = 753, KnightValueEg = 832,
|
||||
BishopValueMg = 814, BishopValueEg = 890,
|
||||
RookValueMg = 1285, RookValueEg = 1371,
|
||||
QueenValueMg = 2513, QueenValueEg = 2648,
|
||||
KnightValueMg = 764, KnightValueEg = 848,
|
||||
BishopValueMg = 826, BishopValueEg = 891,
|
||||
RookValueMg = 1282, RookValueEg = 1373,
|
||||
QueenValueMg = 2526, QueenValueEg = 2646,
|
||||
|
||||
MidgameLimit = 15258, EndgameLimit = 3915
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user