X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=b47e26a1c974f73e627adf73754aa4ccc5c70b90;hp=b5f37cb8a66b0678d4099de5bc11bbffe0425c60;hb=b599da01fa008e5f274a96c948f8346991bfd050;hpb=52bca81dcb7a5ac4246f95c4ab29a1f5f66b59a4 diff --git a/src/search.cpp b/src/search.cpp index b5f37cb8..b47e26a1 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1416,10 +1416,27 @@ namespace { && move != ttMove) { //std::cout << std::endl; - //for (int d = 2; d <= 14; d+=2) - // std::cout << d / 2 << ", " << 3+(1 << (3*d/8)) << std::endl; + //for (int d = 2; d < 14; d++) + // std::cout << d << ", " << 300 + 2*(1 << (3*d/4)) << std::endl; + //std::cout << std::endl; /* + 300 + 2*(1 << (3*d/4)) + + 2 -> 256 - 304 + 3 -> 288 - 308 + 4 -> 512 - 316 + 5 -> 544 - 316 + 6 -> 592 - 332 + 7 -> 624 - 364 + 8 -> 672 - 428 + 9 -> 704 - 428 + 10 -> 832 - 556 + 11 -> 864 - 812 + 12 -> 928 - 1324 + 13 -> 960 - 1324 + + 3 + (1 << (3*int(depth)/8)) 1 * onePly - > moveCount >= 4 @@ -1441,7 +1458,7 @@ namespace { { if (futilityValue == VALUE_NONE) futilityValue = evaluate(pos, ei, threadID) - + FutilityMargins[int(depth) - 2] + + (300 + 2 * (1 << (3 * int(depth) /4))) + 4*IncrementalFutilityMargin; futilityValueScaled = futilityValue - moveCount * IncrementalFutilityMargin;