IvanHoe 58m pawn_eval.c shelter values
Posted: Sun Jun 20, 2010 1:34 am
In IvanHoe v. 58m's pawn_eval.c, there is the option to toggle a different set of shelter and storm values. Can anyone explain the code here, and how the changes in the values would effect the pawn evaluation? BB, are you around?
Code: Select all
#if 1
const uint8 SHELTERaa[8] = { 30, 0, 5, 15, 20, 25, 25, 25 };
const uint8 SHELTERab[8] = { 55, 0, 15, 40, 50, 55, 55, 55 };
const uint8 SHELTERac[8] = { 30, 0, 10, 20, 25, 30, 30, 30 };
const uint8 STORMaa[8] = { 5, 0, 35, 15, 5, 0, 0, 0 };
const uint8 STORMab[8] = { 10, 0, 50, 20, 10, 0, 0, 0 };
const uint8 STORMac[8] = { 10, 0, 50, 20, 10, 0, 0, 0 };
***
#else
const uint8 SHELTERaa[8] = { 45, 0, 10, 30, 40, 40, 40, 40 };
const uint8 SHELTERab[8] = { 55, 0, 15, 40, 50, 55, 55, 55 };
const uint8 SHELTERac[8] = { 20, 0, 5, 10, 15, 15, 20, 20 };
const uint8 STORMaa[8] = { 10, 0, 35, 15, 5, 0, 0, 0 };
const uint8 STORMab[8] = { 15, 0, 60, 25, 10, 0, 0, 0 };
const uint8 STORMac[8] = { 5, 0, 25, 10, 5, 0, 0, 0 };