Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reverse Futility Pruning Margin Tweak #393

Merged
merged 2 commits into from
Jun 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
EXE = berserk
SRC = *.c pyrrhic/tbprobe.c noobprobe/*.c
CC = gcc
VERSION = 20220620
VERSION = 20220629
MAIN_NETWORK = networks/berserk-11a8ee076cec.nn
EVALFILE = $(MAIN_NETWORK)
DEFS = -DVERSION=\"$(VERSION)\" -DEVALFILE=\"$(EVALFILE)\" -DNDEBUG
Expand Down
2 changes: 1 addition & 1 deletion src/search.c
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ int Negamax(int alpha, int beta, int depth, int cutnode, ThreadData* thread, PV*

// Reverse Futility Pruning
// i.e. the static eval is so far above beta we prune
if (depth <= 6 && !skipMove && eval - 50 * (depth - (improving && !oppThreat.pcs)) > beta && eval < WINNING_ENDGAME)
if (depth <= 6 && !skipMove && eval - 75 * (depth - (improving && !oppThreat.pcs)) > beta && eval < WINNING_ENDGAME)
return eval;

// Razoring
Expand Down