Skip to content

Commit

Permalink
Reintroduce late irreversible move extension
Browse files Browse the repository at this point in the history
Reintroduce vondele's late irreversible move extension for fortress keeping.
This was removed when we only had classical eval.
Now that we have the NNUE net, it seems that this is useful again.

STC:
LLR: 2.93 (-2.94,2.94) {-0.50,1.50}
Total: 5352 W: 787 L: 653 D: 3912
Ptnml(0-2): 34, 451, 1579, 571, 41
https://tests.stockfishchess.org/tests/view/5f2dc8ad61e3b6af64881ff0

LTC:
LLR: 2.94 (-2.94,2.94) {0.25,1.75}
Total: 14416 W: 1013 L: 891 D: 12512
Ptnml(0-2): 15, 722, 5623, 822, 26
https://tests.stockfishchess.org/tests/view/5f2e0e3661e3b6af6488201e

closes #2936

Bench: 4154696
  • Loading branch information
SFisGOD authored and vondele committed Aug 8, 2020
1 parent 5ccff25 commit f4c27cd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/search.cpp
Expand Up @@ -1134,6 +1134,12 @@ namespace {
// Castling extension
if (type_of(move) == CASTLING)
extension = 1;

// Late irreversible move extension
if ( move == ttMove
&& pos.rule50_count() > 80
&& (captureOrPromotion || type_of(movedPiece) == PAWN))
extension = 2;

// Add extension to new depth
newDepth += extension;
Expand Down

0 comments on commit f4c27cd

Please sign in to comment.