From 0915f85895733ff8ed8e480fa9c83c25c296ea1d Mon Sep 17 00:00:00 2001 From: Uri Blass Date: Sat, 31 Aug 2013 10:23:01 +0300 Subject: [PATCH] Union of 2 changes that failed with good score This is a union of 2 changes: A tweak of recaptures limit from Joona Kiiski http://tests.stockfishchess.org/tests/view/52166d7c0ebc59319a242400 and a tweak of move count pruning from Leonid Pechenik http://tests.stockfishchess.org/tests/view/5217c7e60ebc59319a242456 The set passed both short TC at 30+0.05 LLR: 2.96 (-2.94,2.94) Total: 18936 W: 3723 L: 3566 D: 11647 And the usual long TC at 60+0.05 LLR: 2.95 (-2.94,2.94) Total: 48962 W: 8837 L: 8487 D: 31638 bench: 3453945 --- src/search.cpp | 4 ++-- src/types.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index 7b43f64a..ee2d43b8 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -153,8 +153,8 @@ void Search::init() { // Init futility move count array for (d = 0; d < 32; d++) { - FutilityMoveCounts[0][d] = int(3.001 + 0.3 * pow(double(d ), 1.8)) * (d < 5 ? 4 : 3) / 4; - FutilityMoveCounts[1][d] = int(3.001 + 0.3 * pow(double(d + 0.98), 1.8)); + FutilityMoveCounts[0][d] = int(3 + 0.3 * pow(double(d ), 1.8)) * 3/4 + (2 < d && d < 5); + FutilityMoveCounts[1][d] = int(3 + 0.3 * pow(double(d + 0.98), 1.8)); } } diff --git a/src/types.h b/src/types.h index 86a86d19..4e5de7f7 100644 --- a/src/types.h +++ b/src/types.h @@ -196,7 +196,7 @@ enum Depth { DEPTH_ZERO = 0 * ONE_PLY, DEPTH_QS_CHECKS = -1 * ONE_PLY, DEPTH_QS_NO_CHECKS = -2 * ONE_PLY, - DEPTH_QS_RECAPTURES = -7 * ONE_PLY, + DEPTH_QS_RECAPTURES = -5 * ONE_PLY, DEPTH_NONE = -127 * ONE_PLY }; -- 2.39.2