Skip to content

Commit

Permalink
🔍 Use spsa tuned search values (#543)
Browse files Browse the repository at this point in the history
  • Loading branch information
eduherminio committed Dec 25, 2023
1 parent 760b924 commit c0724ef
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
26 changes: 13 additions & 13 deletions src/Lynx.Cli/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,27 +20,27 @@

"LMR_MinDepth": 3,
"LMR_MinFullDepthSearchedMoves": 4,
"LMR_Base": 0.77,
"LMR_Divisor": 2.67,
"LMR_Base": 0.74,
"LMR_Divisor": 2.94,

"NMP_MinDepth": 3,
"NMP_BaseDepthReduction": 1,

"AspirationWindow_Delta": 50,
"AspirationWindow_MinDepth": 6,
"AspirationWindow_Delta": 16,
"AspirationWindow_MinDepth": 7,

"RFP_MaxDepth": 6,
"RFP_DepthScalingFactor": 75,
"RFP_MaxDepth": 4,
"RFP_DepthScalingFactor": 85,

"Razoring_MaxDepth": 2,
"Razoring_Depth1Bonus": 125,
"Razoring_NotDepth1Bonus": 175,
"Razoring_MaxDepth": 3,
"Razoring_Depth1Bonus": 106,
"Razoring_NotDepth1Bonus": 156,

"IIR_MinDepth": 4,
"IIR_MinDepth": 2,

"LMP_MaxDepth": 2,
"LMP_BaseMovesToTry": 0,
"LMP_MovesDepthMultiplier": 10,
"LMP_MaxDepth": 1,
"LMP_BaseMovesToTry": 1,
"LMP_MovesDepthMultiplier": 11,

"History_MaxMoveValue": 8192,
"History_MaxMoveRawBonus": 1896,
Expand Down
26 changes: 13 additions & 13 deletions src/Lynx/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,38 +122,38 @@ public sealed class EngineSettings
/// <summary>
/// Value originally from Stormphrax, who apparently took it from Viridithas
/// </summary>
public double LMR_Base { get; set; } = 0.77;
public double LMR_Base { get; set; } = 0.74;

/// <summary>
/// Value originally from Akimbo
/// </summary>
public double LMR_Divisor { get; set; } = 2.67;
public double LMR_Divisor { get; set; } = 2.94;

public int NMP_MinDepth { get; set; } = 3;

public int NMP_BaseDepthReduction { get; set; } = 1;

public int AspirationWindow_Delta { get; set; } = 50;
public int AspirationWindow_Delta { get; set; } = 16;

public int AspirationWindow_MinDepth { get; set; } = 6;
public int AspirationWindow_MinDepth { get; set; } = 7;

public int RFP_MaxDepth { get; set; } = 6;
public int RFP_MaxDepth { get; set; } = 4;

public int RFP_DepthScalingFactor { get; set; } = 75;
public int RFP_DepthScalingFactor { get; set; } = 85;

public int Razoring_MaxDepth { get; set; } = 2;
public int Razoring_MaxDepth { get; set; } = 3;

public int Razoring_Depth1Bonus { get; set; } = 125;
public int Razoring_Depth1Bonus { get; set; } = 106;

public int Razoring_NotDepth1Bonus { get; set; } = 175;
public int Razoring_NotDepth1Bonus { get; set; } = 156;

public int IIR_MinDepth { get; set; } = 4;
public int IIR_MinDepth { get; set; } = 2;

public int LMP_MaxDepth { get; set; } = 2;
public int LMP_MaxDepth { get; set; } = 1;

public int LMP_BaseMovesToTry { get; set; } = 0;
public int LMP_BaseMovesToTry { get; set; } = 1;

public int LMP_MovesDepthMultiplier { get; set; } = 10;
public int LMP_MovesDepthMultiplier { get; set; } = 11;

public int History_MaxMoveValue { get; set; } = 8_192;

Expand Down

0 comments on commit c0724ef

Please sign in to comment.