Skip to content

Commit

Permalink
ablation: no decrease reduction for continuous 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 61ee893
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 @@ -1138,9 +1138,9 @@ Value search(Board &board, SearchStack *ss, Value alpha, Value beta, Depth depth
r += (distOppo > 4) * 2 + (distSelf > 4);

// Decrease reduction for continuous attack
if (!oppo4 && (ss - 2)->moveP4[self] >= H_FLEX3
&& (ss->moveP4[self] >= H_FLEX3 || distSelf <= 4 && ss->moveP4[self] >= J_FLEX2_2X))
r -= CONTINUOUS_ATTACK_EXT;
//if (!oppo4 && (ss - 2)->moveP4[self] >= H_FLEX3
// && (ss->moveP4[self] >= H_FLEX3 || distSelf <= 4 && ss->moveP4[self] >= J_FLEX2_2X))
// r -= CONTINUOUS_ATTACK_EXT;

if constexpr (Rule == Rule::RENJU) {
// Decrease reduction for false forbidden move in Renju
Expand Down

0 comments on commit 61ee893

Please sign in to comment.