projects
/
stockfish
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd33766
)
Prune moves with equal SEE in qsearch
author
Marco Costalba
<mcostalba@gmail.com>
Tue, 22 Feb 2011 22:23:45 +0000
(23:23 +0100)
committer
Marco Costalba
<mcostalba@gmail.com>
Sun, 27 Feb 2011 08:19:59 +0000
(09:19 +0100)
After 5166 games:
Mod vs Orig 890 - 762 - 3514 ELO +8 (+- 5.5) LOS 96%
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 b1a720d72f1b0d4a6b57fd9d9da1e926f8db054b..3152260745f21b8cf2ed8af1ab5051825dc581c2 100644
(file)
--- a/
src/search.cpp
+++ b/
src/search.cpp
@@
-1427,6
+1427,13
@@
split_point_start: // At split points actual search starts from here
bestValue = futilityValue;
continue;
}
+
+ // Prune moves with negative or equal SEE
+ if ( futilityBase < beta
+ && depth < DEPTH_ZERO
+ && bestValue > value_mated_in(PLY_MAX)
+ && pos.see(move) <= 0)
+ continue;
}
// Detect non-capture evasions that are candidate to be pruned