mirror of
https://github.com/sockspls/badfish
synced 2025-07-12 03:59:15 +00: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:
parent
889c8538a8
commit
bc35f4c42d
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue