mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 08:37:44 +00:00
Retire asymmThreshold
Verified with 40K games at long TC does not regress: ELO: 1.74 +-1.9 (95%) LOS: 96.2% Total: 39624 W: 6402 L: 6203 D: 27019 bench: 7762310
This commit is contained in:
+1
-10
@@ -1029,7 +1029,7 @@ int Position::see_sign(Move m) const {
|
||||
return see(m);
|
||||
}
|
||||
|
||||
int Position::see(Move m, int asymmThreshold) const {
|
||||
int Position::see(Move m) const {
|
||||
|
||||
Square from, to;
|
||||
Bitboard occupied, attackers, stmAttackers;
|
||||
@@ -1096,15 +1096,6 @@ int Position::see(Move m, int asymmThreshold) const {
|
||||
|
||||
} while (stmAttackers);
|
||||
|
||||
// If we are doing asymmetric SEE evaluation and the same side does the first
|
||||
// and the last capture, it loses a tempo and gain must be at least worth
|
||||
// 'asymmThreshold', otherwise we replace the score with a very low value,
|
||||
// before negamaxing.
|
||||
if (asymmThreshold)
|
||||
for (int i = 0; i < slIndex; i += 2)
|
||||
if (swapList[i] < asymmThreshold)
|
||||
swapList[i] = - QueenValueMg * 16;
|
||||
|
||||
// Having built the swap list, we negamax through it to find the best
|
||||
// achievable score from the point of view of the side to move.
|
||||
while (--slIndex)
|
||||
|
||||
Reference in New Issue
Block a user