From bbd3e30b4e297877f1e1cad3e5b942175c58290b Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Fri, 5 Jun 2009 14:27:37 +0200 Subject: [PATCH] Give credit to Joona for optimized parameters This also allow us to better track what is already optimized and what still needs optimization. No functional change. Signed-off-by: Marco Costalba --- src/evaluate.cpp | 4 ++-- src/material.cpp | 1 + src/value.h | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/evaluate.cpp b/src/evaluate.cpp index c1df7c86..f93afad5 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -170,13 +170,13 @@ namespace { // Bonus for unstoppable passed pawns const Value UnstoppablePawnValue = Value(0x500); - // Rooks and queens on the 7th rank + // Rooks and queens on the 7th rank (modified by Joona Kiiski) const Value MidgameRookOn7thBonus = Value(47); const Value EndgameRookOn7thBonus = Value(98); const Value MidgameQueenOn7thBonus = Value(27); const Value EndgameQueenOn7thBonus = Value(54); - // Rooks on open files + // Rooks on open files (modified by Joona Kiiski) const Value RookOpenFileBonus = Value(43); const Value RookHalfOpenFileBonus = Value(19); diff --git a/src/material.cpp b/src/material.cpp index c1c3c3c2..8a13d115 100644 --- a/src/material.cpp +++ b/src/material.cpp @@ -37,6 +37,7 @@ using std::string; namespace { + // Values modified by Joona Kiiski const Value BishopPairMidgameBonus = Value(109); const Value BishopPairEndgameBonus = Value(97); diff --git a/src/value.h b/src/value.h index b5f56c06..3e41be48 100644 --- a/src/value.h +++ b/src/value.h @@ -93,7 +93,7 @@ const Value PieceValueEndgame[17] = { Value(0), Value(0), Value(0) }; -/// Bonus for having the side to move +/// Bonus for having the side to move (modified by Joona Kiiski) const Value TempoValueMidgame = Value(48); const Value TempoValueEndgame = Value(21); -- 2.39.2