Skip quiet moves based on moveCount pruning threshold and history stats

If we can moveCountPrune and next quiet move has negative stats,
then go directly to the next move stage (Bad_Captures).

Reduction formula is tweaked to compensate for the decrease in move count that is used in LMR.

STC:
LLR: 2.96 (-2.94,2.94) [0.00,5.00]
Total: 6847 W: 1276 L: 1123 D: 4448

LTC:
LLR: 2.95 (-2.94,2.94) [0.00,5.00]
Total: 48687 W: 6503 L: 6226 D: 35958

Bench: 5919519

Closes #1036
This commit is contained in:
VoyagerOne
2017-03-18 15:41:55 -07:00
committed by Joona Kiiski
parent c80d52c845
commit 352bd6f5aa
3 changed files with 12 additions and 7 deletions

View File

@@ -95,7 +95,7 @@ public:
MovePicker(const Position&, Move, Depth, Square);
MovePicker(const Position&, Move, Depth, Search::Stack*);
Move next_move();
Move next_move(bool skipQuiets = false);
private:
template<GenType> void score();