From: Marco Costalba Date: Sat, 15 May 2010 20:44:57 +0000 (+0100) Subject: Threath tuning results X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=6c0b2f50032da8e4df0013177d6bb7e1bb1fae8e Threath tuning results Final values for threath tuning (after ~30k iterations) Verified to be equivalent with tuning branch. Signed-off-by: Marco Costalba --- diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 32bd35f6..479deb9f 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -134,10 +134,10 @@ namespace { // piece type attacks which one. const Score ThreatBonus[8][8] = { {}, {}, - { S(0, 0), S(18,37), S( 0, 0), S(37,47), S(55,97), S(55,97) }, // KNIGHT - { S(0, 0), S(18,37), S(37,47), S( 0, 0), S(55,97), S(55,97) }, // BISHOP - { S(0, 0), S( 9,27), S(27,47), S(27,47), S( 0, 0), S(37,47) }, // ROOK - { S(0, 0), S(27,37), S(27,37), S(27,37), S(27,37), S( 0, 0) } // QUEEN + { S(0, 0), S( 7, 39), S( 0, 0), S(24, 49), S(41,100), S(41,100) }, // KNIGHT + { S(0, 0), S( 7, 39), S(24, 49), S( 0, 0), S(41,100), S(41,100) }, // BISHOP + { S(0, 0), S(-1, 29), S(15, 49), S(15, 49), S( 0, 0), S(24, 49) }, // ROOK + { S(0, 0), S(15, 39), S(15, 39), S(15, 39), S(15, 39), S( 0, 0) } // QUEEN }; // ThreatedByPawnPenalty[] contains a penalty according to which piece