Give a small penalty for bishop for each pawn on the same colored square

This commit is contained in:
Joona Kiiski
2013-04-16 21:20:31 +01:00
parent fe72c93141
commit 3e4dfb49a7
5 changed files with 16 additions and 1 deletions

View File

@@ -39,7 +39,7 @@ namespace {
const Value RedundantRookPenalty = Value(554);
// pair pawn knight bishop rook queen
const int LinearCoefficients[6] = { 1617, -162, -1172, -190, 105, 26 };
const int LinearCoefficients[6] = { 1617, -162, -1172, -62, 105, 26 };
const int QuadraticCoefficientsSameColor[][PIECE_TYPE_NB] = {
// pair pawn knight bishop rook queen