|
17 | 17 | */ |
18 | 18 | #include "globals.h" |
19 | 19 |
|
20 | | -Tunable aspBaseDelta("ASP_BaseDelta", 17, 1); |
21 | | -Tunable aspDeltaMultiplier("ASP_DeltaMultiplier", 1.67, 10); |
| 20 | +Tunable aspBaseDelta("ASP_BaseDelta", 14, 1); |
| 21 | +Tunable aspDeltaMultiplier("ASP_DeltaMultiplier", 1.34, 10); |
22 | 22 | Tunable aspDepthCondition("ASP_DepthCondition", 4, 1); |
23 | 23 |
|
24 | | -Tunable rfpDepthCondition("RFP_DepthCondition", 11, 1); |
25 | | -Tunable rfpMultiplier("RFP_Multiplier", 96, 1); |
| 24 | +Tunable rfpDepthCondition("RFP_DepthCondition", 10, 1); |
| 25 | +Tunable rfpMultiplier("RFP_Multiplier", 92, 1); |
26 | 26 |
|
27 | | -Tunable iirDepthCondition("IIR_DepthCondition", 4, 1); |
| 27 | +Tunable iirDepthCondition("IIR_DepthCondition", 2, 1); |
28 | 28 |
|
29 | 29 | Tunable fpDepthCondition("FP_DepthCondition", 1, 1); |
30 | | -Tunable fpBase("FP_Base", 268, 1); |
31 | | -Tunable fpMultiplier("FP_Multiplier", 64, 1); |
| 30 | +Tunable fpBase("FP_Base", 327, 1); |
| 31 | +Tunable fpMultiplier("FP_Multiplier", 44, 1); |
32 | 32 |
|
33 | | -Tunable lmpBase("LMP_Base", 2, 1);// No divisor adjustment |
| 33 | +Tunable lmpBase("LMP_Base", 1, 1);// No divisor adjustment |
34 | 34 |
|
35 | | -Tunable sprDepthCondition("SPR_DepthCondition", 4, 1); |
36 | | -Tunable sprCaptureThreshold("SPR_CaptureThreshold", -118, -1); |
37 | | -Tunable sprQuietThreshold("SPR_QuietThreshold", -38, -1); |
| 35 | +Tunable sprDepthCondition("SPR_DepthCondition", 2, 1); |
| 36 | +Tunable sprCaptureThreshold("SPR_CaptureThreshold", -98, -1); |
| 37 | +Tunable sprQuietThreshold("SPR_QuietThreshold", -34, -1); |
38 | 38 |
|
39 | | -Tunable nmpDivisor("NMP_Divisor", 157, 1); |
40 | | -Tunable nmpSubtractor("NMP_Subtractor", 5, 1); |
41 | | -Tunable nmpDepthCondition("NMP_DepthCondition", 1, 1); |
| 39 | +Tunable nmpDivisor("NMP_Divisor", 147, 1); |
| 40 | +Tunable nmpSubtractor("NMP_Subtractor", 4, 1); |
| 41 | +Tunable nmpDepthCondition("NMP_DepthCondition", 0, 1); |
42 | 42 |
|
43 | | -Tunable hmrDivisor("HMR_Divisor", 8000, 1); |
44 | | -Tunable cmrDivisor("CMR_Divisor", 2926, 1); |
| 43 | +Tunable hmrDivisor("HMR_Divisor", 7828, 1); |
| 44 | +Tunable cmrDivisor("CMR_Divisor", 4506, 1); |
45 | 45 |
|
46 | | -Tunable lmrBase("LMR_Base", 0.81, 100);// Adjusted divisor for lmrBase |
47 | | -Tunable lmrMultiplier("LMR_Multiplier", 0.58, 100);// Adjusted divisor for lmrMultiplier |
| 46 | +Tunable lmrBase("LMR_Base", 0.82, 100);// Adjusted divisor for lmrBase |
| 47 | +Tunable lmrMultiplier("LMR_Multiplier", 0.53, 100);// Adjusted divisor for lmrMultiplier |
48 | 48 |
|
49 | | -Tunable hstMaxBonus("HST_MaxBonus", 1884, 1); |
50 | | -Tunable hstMultiplier("HST_Multiplier", 4, 1); |
51 | | -Tunable hstAdder("HST_Adder", 150, 1); |
52 | | -Tunable hstSubtractor("HST_Subtractor", 110, 1); |
| 49 | +Tunable hstMaxBonus("HST_MaxBonus", 1642, 1); |
| 50 | +Tunable hstMultiplier("HST_Multiplier", 3, 1); |
| 51 | +Tunable hstAdder("HST_Adder", 146, 1); |
| 52 | +Tunable hstSubtractor("HST_Subtractor", 120, 1); |
53 | 53 |
|
54 | | -Tunable sinDepthCondition("SIN_DepthCondition", 8, 1); |
| 54 | +Tunable sinDepthCondition("SIN_DepthCondition", 7, 1); |
55 | 55 | Tunable sinDepthMargin("SIN_DepthMargin", 3, 1); |
56 | | -Tunable sinDepthScale("SIN_DepthScale", 48, 1); |
| 56 | +Tunable sinDepthScale("SIN_DepthScale", 33, 1); |
57 | 57 |
|
58 | | -Tunable razDepthMultiplier("RAZ_DepthMultiplier", 394, 1); |
| 58 | +Tunable razDepthMultiplier("RAZ_DepthMultiplier", 495, 1); |
59 | 59 |
|
60 | | -Tunable ntmDepthCondition("NTM_DepthCondition", 8, 1); |
61 | | -Tunable ntmSubtractor("NTM_Subtractor", 1.61, 100); |
62 | | -Tunable ntmMultiplier("NTM_Multiplier", 1.41, 100); |
63 | | -Tunable ntmDefault("NTM_Default", 0.83, 100); |
| 60 | +Tunable ntmDepthCondition("NTM_DepthCondition", 10, 1); |
| 61 | +Tunable ntmSubtractor("NTM_Subtractor", 1.69, 100); |
| 62 | +Tunable ntmMultiplier("NTM_Multiplier", 1.32, 100); |
| 63 | +Tunable ntmDefault("NTM_Default", 1.34, 100); |
64 | 64 |
|
65 | 65 | Tunable hipDepthCondition("HIP_DepthCondition", 7, 1); |
66 | | -Tunable hipDepthMultiplier("HIP_DepthMultiplier", -2066, -1); |
| 66 | +Tunable hipDepthMultiplier("HIP_DepthMultiplier", -2470, -1); |
67 | 67 |
|
68 | | -Tunable qhsMaxBonus("QHS_MaxBonus", 1830, 1); |
69 | | -Tunable qhsMultiplier("QHS_Multiplier", 5, 1); |
70 | | -Tunable qhsAdder("QHS_Adder", 126, 1); |
71 | | -Tunable qhsSubtractor("QHS_Subtractor", 107, 1); |
| 68 | +Tunable qhsMaxBonus("QHS_MaxBonus", 1589, 1); |
| 69 | +Tunable qhsMultiplier("QHS_Multiplier", 6, 1); |
| 70 | +Tunable qhsAdder("QHS_Adder", 72, 1); |
| 71 | +Tunable qhsSubtractor("QHS_Subtractor", 105, 1); |
72 | 72 |
|
73 | | -Tunable dexMargin("DEX_Margin", 50, 1); |
74 | | -Tunable dexLimit("DEX_Limit", 20, 1); |
| 73 | +Tunable dexMargin("DEX_Margin", 32, 1); |
| 74 | +Tunable dexLimit("DEX_Limit", 24, 1); |
75 | 75 |
|
76 | | -Tunable deiDepth("DEI_Depth", 10, 1); |
| 76 | +Tunable deiDepth("DEI_Depth", 13, 1); |
77 | 77 |
|
78 | | -Tunable lmrDepth("LMR_Depth", 1, 1); |
| 78 | +Tunable lmrDepth("LMR_Depth", 2, 1); |
| 79 | + |
| 80 | +Tunable mvvPawn("MVV_Pawn", 91, 1); |
| 81 | +Tunable mvvKnight("MVV_Knight", 401, 1); |
| 82 | +Tunable mvvBishop("MVV_Bishop", 502, 1); |
| 83 | +Tunable mvvRook("MVV_Rook", 736, 1); |
| 84 | +Tunable mvvQueen("MVV_Queen", 1192, 1); |
| 85 | +Tunable blank("blank", 0, 1); |
| 86 | + |
| 87 | +Tunable seePawn("SEE_Pawn", 108, 1); |
| 88 | +Tunable seeKnight("SEE_Knight", 446, 1); |
| 89 | +Tunable seeBishop("SEE_Bishop", 428, 1); |
| 90 | +Tunable seeRook("SEE_Rook", 665, 1); |
| 91 | +Tunable seeQueen("SEE_Queen", 1110, 1); |
| 92 | + |
| 93 | +Tunable tmhDivisor("TMH_Divisor", 2, 1); |
| 94 | +Tunable tmsNumerator("TMS_Numerator", 2, 1); |
| 95 | +Tunable tmsDenominator("TMS_Denominator", 4, 1); |
| 96 | +Tunable tmsMultiplier("TMS_Multiplier", 0.6, 10); |
79 | 97 |
|
80 | 98 | // Declaration of pointers to tunables |
| 99 | +std::array<Tunable *, 7> MVV_values = { |
| 100 | + &mvvPawn, |
| 101 | + &mvvKnight, |
| 102 | + &mvvBishop, |
| 103 | + &mvvRook, |
| 104 | + &mvvQueen, |
| 105 | + &blank, |
| 106 | + &blank, |
| 107 | +}; |
| 108 | + |
| 109 | +std::array<Tunable *, 7> SEE_values = { |
| 110 | + &seePawn, |
| 111 | + &seeKnight, |
| 112 | + &seeBishop, |
| 113 | + &seeRook, |
| 114 | + &seeQueen, |
| 115 | + &blank, |
| 116 | + &blank, |
| 117 | +}; |
81 | 118 |
|
82 | 119 | std::vector<Tunable *> tunables = { |
83 | 120 | &aspBaseDelta, |
@@ -121,7 +158,21 @@ std::vector<Tunable *> tunables = { |
121 | 158 | &dexMargin, |
122 | 159 | &dexLimit, |
123 | 160 | &deiDepth, |
124 | | - &lmrDepth |
| 161 | + &lmrDepth, |
| 162 | + &mvvPawn, |
| 163 | + &mvvKnight, |
| 164 | + &mvvBishop, |
| 165 | + &mvvRook, |
| 166 | + &mvvQueen, |
| 167 | + &seePawn, |
| 168 | + &seeKnight, |
| 169 | + &seeBishop, |
| 170 | + &seeRook, |
| 171 | + &seeQueen, |
| 172 | + &tmhDivisor, |
| 173 | + &tmsNumerator, |
| 174 | + &tmsDenominator, |
| 175 | + &tmsMultiplier |
125 | 176 | }; |
126 | 177 |
|
127 | 178 |
|
|
0 commit comments