projects
/
stockfish
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7482934
)
Simplify futility move count array formula
author
Luca Brivio
<luca@brivio.name>
Sun, 5 Oct 2014 11:49:18 +0000
(12:49 +0100)
committer
Joona Kiiski
<joona.kiiski@gmail.com>
Sun, 5 Oct 2014 11:49:18 +0000
(12:49 +0100)
No functional change
src/search.cpp
patch
|
blob
|
history
diff --git
a/src/search.cpp
b/src/search.cpp
index
5b56af5
..
a16fceb
100644
(file)
--- a/
src/search.cpp
+++ b/
src/search.cpp
@@
-140,8
+140,8
@@
void Search::init() {
// Init futility move count array
for (d = 0; d < 32; ++d)
{
// Init futility move count array
for (d = 0; d < 32; ++d)
{
- FutilityMoveCounts[0][d] = int(2.4 + 0.
222 * pow(d * 2
+ 0.00, 1.8));
- FutilityMoveCounts[1][d] = int(
3.0 + 0.300 * pow(d * 2 + 0.98
, 1.8));
+ FutilityMoveCounts[0][d] = int(2.4 + 0.
773 * pow(d
+ 0.00, 1.8));
+ FutilityMoveCounts[1][d] = int(
2.9 + 1.045 * pow(d + 0.49
, 1.8));
}
}
}
}