projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
09f1fdf
)
Update bestValue when futility pruning (2)
author
Marco Costalba
<mcostalba@gmail.com>
Fri, 22 Mar 2013 08:52:41 +0000 (09:52 +0100)
committer
Marco Costalba
<mcostalba@gmail.com>
Sun, 24 Mar 2013 22:32:21 +0000 (23:32 +0100)
Same idea of
5af8179647b9e80353c
in qsearch() but applied to search()
After 15500 games at 15+0.05
ELO: 4.48 +-3.4 (95%) LOS: 99.5%
Total: 15500 W: 3061 L: 2861 D: 9578
bench: 4985829
src/search.cpp
patch
|
blob
|
history
diff --git
a/src/search.cpp
b/src/search.cpp
index
6dcd9f1
..
f99f63b
100644
(file)
--- a/
src/search.cpp
+++ b/
src/search.cpp
@@
-879,9
+879,14
@@
split_point_start: // At split points actual search starts from here
if (futilityValue < beta)
{
+ bestValue = std::max(bestValue, futilityValue);
+
if (SpNode)
+ {
splitPoint->mutex.lock();
-
+ if (bestValue > splitPoint->bestValue)
+ splitPoint->bestValue = bestValue;
+ }
continue;
}