mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-18 08:07:08 +08:00
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 <mcostalba@gmail.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -37,6 +37,7 @@ using std::string;
|
||||
|
||||
namespace {
|
||||
|
||||
// Values modified by Joona Kiiski
|
||||
const Value BishopPairMidgameBonus = Value(109);
|
||||
const Value BishopPairEndgameBonus = Value(97);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user