Skip to content

Commit

Permalink
Late move reduction, captures and CUT nodes
Browse files Browse the repository at this point in the history
Expand of Stefan Geschwentner's original idea: we always do LMR for captures at cutnodes.

Passed STC
http://tests.stockfishchess.org/tests/view/5d5b2f8e0ebc5925cf1111b8
LLR: 2.96 (-2.94,2.94) [0.50,4.50]
Total: 36026 W: 8122 L: 7779 D: 20125

Passed LTC
http://tests.stockfishchess.org/tests/view/5d5b40c80ebc5925cf111353
LLR: 3.22 (-2.94,2.94) [0.00,3.50]
Total: 133502 W: 22508 L: 21943 D: 89051

Closes official-stockfish#2273

Bench: 3494372
  • Loading branch information
Vizvezdenec authored and MichaelB7 committed Aug 22, 2019
1 parent 291d047 commit 1897793
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/Makefile
Expand Up @@ -24,8 +24,8 @@
### ==========================================================================

### Executable name
### Honey bench nodes -----> 4139590 > based on commits up to 8/15/2019
### stockfish bench nodes -> 4024328 > based on commits up to 8/15/2019
### Honey bench nodes -----> 4779507 > based on commits up to 8/21/2019
### stockfish bench nodes -> 3494372 > based on commits up to 8/21/2019

#### Always leave the three lines below as is (any subsequent defines will override)
DATE=$(shell date +"%m%d%y")
Expand All @@ -39,13 +39,13 @@ RELVERSION = X5i
### TEST versions, enter yes and labels below to build named test exe's
TEST = no
TESTv1 = $(DATE2)
TESTv2 =
TESTv2 =
ifeq ($(TEST),yes)
CXXFLAGS += -DTest
endif

### Uncomment the line below for Honey, comment out for Stockfish
VERSION=sullivan
### VERSION=sullivan

### Uncomment for use with Raspberry Pi - a slower NPS UCI option setting used in Play
### by Elo and personalities
Expand Down
3 changes: 2 additions & 1 deletion src/search.cpp
Expand Up @@ -1369,7 +1369,8 @@ namespace {
&& moveCount > 1 + 3 * rootNode
&& ( !captureOrPromotion
|| moveCountPruning
|| ss->staticEval + PieceValue[EG][pos.captured_piece()] <= alpha))
|| ss->staticEval + PieceValue[EG][pos.captured_piece()] <= alpha
|| cutNode))
{
Depth r = reduction(improving, depth, moveCount);

Expand Down

0 comments on commit 1897793

Please sign in to comment.