Skip to content

Commit

Permalink
ablation: no singular response extension for opponent B4 attack
Browse files Browse the repository at this point in the history
test r15
  • Loading branch information
dhbloo committed Jul 26, 2024
1 parent 49a8c22 commit f980f47
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Rapfi/search/ab/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1024,12 +1024,12 @@ Value search(Board &board, SearchStack *ss, Value alpha, Value beta, Depth depth
Depth extension = 0;

// Singular response extension for opponent B4 attack
if (oppo5)
extension = OPPO5_EXT;
//if (oppo5)
// extension = OPPO5_EXT;

// Singular extension: only one move fails high while other moves fails low on a search of
// (alpha-s, beta-s), then this move is singular and should be extended.
else if (!RootNode && depth >= SE_DEPTH && move == ttMove
/*else*/ if (!RootNode && depth >= SE_DEPTH && move == ttMove
&& !skipMove // No recursive singular search
&& std::abs(ttValue) < VALUE_MATE_IN_MAX_PLY // ttmove value is not a mate
&& (ttBound & BOUND_LOWER) // ttMove failed high last time
Expand Down

0 comments on commit f980f47

Please sign in to comment.