Skip to content

Commit

Permalink
ablation: no increase reduction for useless defend move
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 1655856
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rapfi/search/ab/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1134,8 +1134,8 @@ Value search(Board &board, SearchStack *ss, Value alpha, Value beta, Depth depth
r += NOKILLER_CUTNODE_REDUCTION;

// Increase reduction for useless defend move (~25 elo)
if (oppo4 && ss->moveP4[oppo] < E_BLOCK4)
r += (distOppo > 4) * 2 + (distSelf > 4);
//if (oppo4 && ss->moveP4[oppo] < E_BLOCK4)
// r += (distOppo > 4) * 2 + (distSelf > 4);

// Decrease reduction for continuous attack
if (!oppo4 && (ss - 2)->moveP4[self] >= H_FLEX3
Expand Down

0 comments on commit 1655856

Please sign in to comment.