Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
h1me01 committed Dec 28, 2024
1 parent fab8a09 commit 9a55d52
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion src/search/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ namespace Astra
Score score = VALUE_NONE;

// late move reductions
if (depth > 2 && made_moves > 1 && (!pv_node || !isCap(move)))
if (depth >= 3 && made_moves > 2 && (!pv_node || !isCap(move)))
{
int r = REDUCTIONS[depth][made_moves];
// increase when not improving
Expand Down
34 changes: 17 additions & 17 deletions src/search/tune.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,36 +41,36 @@ namespace Astra
PARAM(lmr_base, 91, 80, 120, 8);
PARAM(lmr_div, 178, 150, 200, 8);

PARAM(asp_depth, 7, 5, 9, 1);
PARAM(asp_depth, 6, 5, 9, 1);
PARAM(asp_window, 5, 5, 30, 5);

PARAM(rzr_depth_mult, 213, 150, 250, 15);
PARAM(rzr_depth_mult, 201, 150, 250, 15);
PARAM(rfp_depth_mult, 79, 70, 110, 6);

PARAM(nmp_min, 3, 3, 6, 1);
PARAM(nmp_min, 4, 3, 6, 1);
PARAM(nmp_depth_div, 6, 3, 15, 1);
PARAM(nmp_div, 216, 190, 235, 8);
PARAM(nmp_div, 220, 190, 235, 8);

PARAM(probcut_margin, 170, 130, 180, 15);
PARAM(probcut_margin, 139, 130, 180, 15);

PARAM(see_cap_margin, 98, 80, 110, 6);
PARAM(see_quiet_margin, 45, 30, 60, 6);
PARAM(see_cap_margin, 100, 80, 110, 6);
PARAM(see_quiet_margin, 49, 30, 60, 6);

PARAM(fp_base, 158, 120, 180, 8);
PARAM(fp_mult, 95, 80, 150, 8);
PARAM(fp_base, 163, 120, 180, 8);
PARAM(fp_mult, 93, 80, 150, 8);

PARAM(ext_margin, 128, 45, 150, 12);
PARAM(ext_margin, 122, 45, 150, 12);

PARAM(hp_margin, 4948, 3500, 5000, 400);
PARAM(hp_div, 8123, 7000, 8500, 400);
PARAM(hbonus_margin, 79, 65, 80, 5);
PARAM(hp_margin, 4787, 3500, 5000, 400);
PARAM(hp_div, 7950, 7000, 8500, 400);
PARAM(hbonus_margin, 77, 65, 80, 5);

PARAM(qfp_margin, 78, 60, 150, 15);
PARAM(qfp_margin, 76, 60, 150, 15);

// history parameters
PARAM(history_mult, 150, 130, 180, 8);
PARAM(history_minus, 37, 10, 50, 10);
PARAM(max_history_bonus, 1574, 1100, 1750, 50);
PARAM(history_mult, 155, 130, 180, 8);
PARAM(history_minus, 33, 10, 50, 10);
PARAM(max_history_bonus, 1565, 1100, 1750, 50);

} // namespace Astra

Expand Down

0 comments on commit 9a55d52

Please sign in to comment.