Skip to content

Commit

Permalink
ablation: no razoring
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 d1da21b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Rapfi/search/ab/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -844,11 +844,11 @@ Value search(Board &board, SearchStack *ss, Value alpha, Value beta, Depth depth
}

// Step 7. Razoring with VCF (~55 elo)
if (!PvNode
&& (alpha < VALUE_MATE_IN_MAX_PLY || !ttHit) // We are not searching for a short win
&& eval + razorMargin<Rule>(depth) < alpha) {
return vcfsearch<Rule, NonPV>(board, ss, alpha, alpha + 1);
}
//if (!PvNode
// && (alpha < VALUE_MATE_IN_MAX_PLY || !ttHit) // We are not searching for a short win
// && eval + razorMargin<Rule>(depth) < alpha) {
// return vcfsearch<Rule, NonPV>(board, ss, alpha, alpha + 1);
//}

// Step 8. Futility pruning: child node (~70 elo)
if (!PvNode && eval < VALUE_MATE_IN_MAX_PLY // Do not return unproven wins
Expand Down

0 comments on commit d1da21b

Please sign in to comment.