projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
3f610e2
)
Smaller null move reduction when depth is high
author
Marco Costalba
<mcostalba@gmail.com>
Sun, 9 Nov 2008 12:03:52 +0000 (13:03 +0100)
committer
Marco Costalba
<mcostalba@gmail.com>
Mon, 10 Nov 2008 18:19:39 +0000 (19:19 +0100)
Lower probability to miss something important.
It seems to increase strenght. Idea form Cyclone.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/search.cpp
patch
|
blob
|
history
diff --git
a/src/search.cpp
b/src/search.cpp
index
8da1211
..
97ed196
100644
(file)
--- a/
src/search.cpp
+++ b/
src/search.cpp
@@
-1148,7
+1148,8
@@
namespace {
UndoInfo u;
pos.do_null_move(u);
- Value nullValue = -search(pos, ss, -(beta-1), depth-4*OnePly, ply+1, false, threadID);
+ int R = (depth > 7 ? 4 : 3);
+ Value nullValue = -search(pos, ss, -(beta-1), depth-R*OnePly, ply+1, false, threadID);
pos.undo_null_move(u);
if (nullValue >= beta)