1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-05-01 17:19:36 +00:00

Joona tweaks of Weights and limits

Verification test give unusless result

After 999 games at 1+0
Mod vs Orig +250 =503 -246 50.20% +1 ELO

So we are well below our radar level. Neverthless
there are 100.000 games on Joona QUAD that we could
take in account and that shows that this tweak perhaps
has something good in it, altough very little.

Verification tests shows should not be a regression, at
least not a big one even in the worst case, so apply the
change anyway and keep the finger crossed ;-)

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba 2009-07-10 21:41:23 +01:00
parent 7622793080
commit 7eefc1f6cc
2 changed files with 11 additions and 11 deletions

View file

@ -58,15 +58,15 @@ namespace {
// parameters at 100, which looks prettier.
//
// Values modified by Joona Kiiski
const int WeightMobilityMidgameInternal = 0x0FA;
const int WeightMobilityEndgameInternal = 0x10A;
const int WeightPawnStructureMidgameInternal = 0x0EC;
const int WeightPawnStructureEndgameInternal = 0x0CD;
const int WeightPassedPawnsMidgameInternal = 0x108;
const int WeightPassedPawnsEndgameInternal = 0x109;
const int WeightKingSafetyInternal = 0x0F7;
const int WeightKingOppSafetyInternal = 0x101;
const int WeightSpaceInternal = 0x02F;
const int WeightMobilityMidgameInternal = 248;
const int WeightMobilityEndgameInternal = 271;
const int WeightPawnStructureMidgameInternal = 233;
const int WeightPawnStructureEndgameInternal = 201;
const int WeightPassedPawnsMidgameInternal = 252;
const int WeightPassedPawnsEndgameInternal = 259;
const int WeightKingSafetyInternal = 247;
const int WeightKingOppSafetyInternal = 259;
const int WeightSpaceInternal = 46;
// Mobility and outposts bonus modified by Joona Kiiski
//

View file

@ -655,8 +655,8 @@ inline Value Position::non_pawn_material(Color c) const {
inline Phase Position::game_phase() const {
// Values modified by Joona Kiiski
static const Value MidgameLimit = Value(15713);
static const Value EndgameLimit = Value(4428);
static const Value MidgameLimit = Value(15581);
static const Value EndgameLimit = Value(3998);
Value npm = non_pawn_material(WHITE) + non_pawn_material(BLACK);