reverted lmp formula | bench 2734093
This commit is contained in:
1 parent
43c59f29f9
commit
1832d460c5
1 file changed
+2
-3
+2
-3
@@ -404,11 +404,10 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
|
|||||||
// If we are near a leaf node we prune moves
|
// If we are near a leaf node we prune moves
|
||||||
// that are late in the list
|
// that are late in the list
|
||||||
if (!isPV && !board.InCheck() && currMove.IsQuiet() && notMated) {
|
if (!isPV && !board.InCheck() && currMove.IsQuiet() && notMated) {
|
||||||
int lmpBase = 4;
|
int lmpBase = 7;
|
||||||
|
|
||||||
|
|
||||||
int lmpMultiplier = 3;
|
int lmpThreshold = lmpBase + 4 * depth;
|
||||||
int lmpThreshold = (lmpBase + lmpMultiplier * depth * depth);
|
|
||||||
|
|
||||||
if (moveSeen >= lmpThreshold) {
|
if (moveSeen >= lmpThreshold) {
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in new issue
Block a user