From 3444b9473570e5c188cbc886e8177d83e082b7a5 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Mon, 6 Jul 2009 10:55:55 +0100 Subject: [PATCH] Joona tweaks of tempos and misc parameters Unfortunatly this tweak does not give good results. After 894 games at 1+0 we have: Mod vs Orig +205/-236/=453 48.27% -12 ELO !! Perhaps we should test again, but in the mean time we are going to revert this. Signed-off-by: Marco Costalba --- src/evaluate.cpp | 12 ++++++------ src/material.cpp | 4 ++-- src/value.h | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 5d214d80..0bc38bad 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -173,14 +173,14 @@ namespace { const Value UnstoppablePawnValue = Value(0x500); // 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); + const Value MidgameRookOn7thBonus = Value(43); + const Value EndgameRookOn7thBonus = Value(91); + const Value MidgameQueenOn7thBonus = Value(28); + const Value EndgameQueenOn7thBonus = Value(53); // Rooks on open files (modified by Joona Kiiski) - const Value RookOpenFileBonus = Value(43); - const Value RookHalfOpenFileBonus = Value(19); + const Value RookOpenFileBonus = Value(42); + const Value RookHalfOpenFileBonus = Value(24); // Penalty for rooks trapped inside a friendly king which has lost the // right to castle. diff --git a/src/material.cpp b/src/material.cpp index 845519bc..40afe2b5 100644 --- a/src/material.cpp +++ b/src/material.cpp @@ -37,8 +37,8 @@ using std::string; namespace { // Values modified by Joona Kiiski - const Value BishopPairMidgameBonus = Value(109); - const Value BishopPairEndgameBonus = Value(97); + const Value BishopPairMidgameBonus = Value(106); + const Value BishopPairEndgameBonus = Value(96); Key KNNKMaterialKey, KKNNMaterialKey; diff --git a/src/value.h b/src/value.h index cec4a439..6e030db4 100644 --- a/src/value.h +++ b/src/value.h @@ -95,8 +95,8 @@ const Value PieceValueEndgame[17] = { /// Bonus for having the side to move (modified by Joona Kiiski) -const Value TempoValueMidgame = Value(48); -const Value TempoValueEndgame = Value(21); +const Value TempoValueMidgame = Value(46); +const Value TempoValueEndgame = Value(28); //// -- 2.39.2