mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +08:00
Tone down a bit futility parameters
After 999 games at 1+0 Mod vs Orig +239 =542 -218 +7 ELO Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -177,7 +177,7 @@ namespace {
|
|||||||
const Value FutilityMarginQS = Value(0x80);
|
const Value FutilityMarginQS = Value(0x80);
|
||||||
|
|
||||||
// Each move futility margin is decreased
|
// Each move futility margin is decreased
|
||||||
const Value IncrementalFutilityMargin = Value(0xA);
|
const Value IncrementalFutilityMargin = Value(0x8);
|
||||||
|
|
||||||
// Remaining depth: 1 ply 1.5 ply 2 ply 2.5 ply 3 ply 3.5 ply
|
// Remaining depth: 1 ply 1.5 ply 2 ply 2.5 ply 3 ply 3.5 ply
|
||||||
const Value FutilityMargins[12] = { Value(0x100), Value(0x120), Value(0x200), Value(0x220), Value(0x250), Value(0x270),
|
const Value FutilityMargins[12] = { Value(0x100), Value(0x120), Value(0x200), Value(0x220), Value(0x250), Value(0x270),
|
||||||
@@ -1473,7 +1473,7 @@ namespace {
|
|||||||
{
|
{
|
||||||
if (futilityValue == VALUE_NONE)
|
if (futilityValue == VALUE_NONE)
|
||||||
futilityValue = evaluate(pos, ei, threadID)
|
futilityValue = evaluate(pos, ei, threadID)
|
||||||
+ 64*(1+bitScanReverse32(int(depth) * int(depth)));
|
+ 64*(2+bitScanReverse32(int(depth) * int(depth)));
|
||||||
|
|
||||||
futilityValueScaled = futilityValue - moveCount * IncrementalFutilityMargin;
|
futilityValueScaled = futilityValue - moveCount * IncrementalFutilityMargin;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user