From: Marco Costalba Date: Thu, 27 Aug 2009 19:22:20 +0000 (+0100) Subject: Try null move before captures X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=ac65b14d30aca87ec7cafa421739f7b9b7325a8f Try null move before captures Always after TT move but before captures. This seems a better setup against version before this patch. After 999 games at 1+0 Mod - Orig +252 =527 -220 +11 ELO Unfortunatly it does not seems to improve on the standard version, with null move outside of movepicker (595a90df) with the latest speed-up patches added in. After 999 games at 1+0 Mod - Standard +244 =506 -249 -2 ELO Signed-off-by: Marco Costalba --- diff --git a/src/movepick.cpp b/src/movepick.cpp index 45d989c9..1cae5ca1 100644 --- a/src/movepick.cpp +++ b/src/movepick.cpp @@ -45,7 +45,7 @@ namespace { CACHE_LINE_ALIGNMENT const MovegenPhaseT MainSearchPhaseTable[] = { PH_NULL_MOVE, PH_TT_MOVES, PH_GOOD_CAPTURES, PH_KILLERS, PH_NONCAPTURES, PH_BAD_CAPTURES, PH_STOP}; const MovegenPhaseT MainSearchNoNullPhaseTable[] = { PH_TT_MOVES, PH_GOOD_CAPTURES, PH_KILLERS, PH_NONCAPTURES, PH_BAD_CAPTURES, PH_STOP}; - const MovegenPhaseT LowSearchPhaseTable[] = { PH_TT_MOVES, PH_GOOD_CAPTURES, PH_NULL_MOVE, PH_KILLERS, PH_NONCAPTURES, PH_BAD_CAPTURES, PH_STOP}; + const MovegenPhaseT LowSearchPhaseTable[] = { PH_TT_MOVES, PH_NULL_MOVE, PH_GOOD_CAPTURES, PH_KILLERS, PH_NONCAPTURES, PH_BAD_CAPTURES, PH_STOP}; const MovegenPhaseT EvasionsPhaseTable[] = { PH_EVASIONS, PH_STOP}; const MovegenPhaseT QsearchWithChecksPhaseTable[] = { PH_TT_MOVES, PH_QCAPTURES, PH_QCHECKS, PH_STOP}; const MovegenPhaseT QsearchWithoutChecksPhaseTable[] = { PH_TT_MOVES, PH_QCAPTURES, PH_STOP};