Add followup moves history for move ordering

STC:
LLR: 2.96 (-2.94,2.94) [0.00,5.00]
Total: 7955 W: 1538 L: 1378 D: 5039

LTC:
LLR: 2.95 (-2.94,2.94) [0.00,5.00]
Total: 5323 W: 778 L: 642 D: 3903

Bench: 8261839

Resolves #599
This commit is contained in:
Stefan Geschwentner
2016-03-10 10:28:25 +01:00
committed by Joona Kiiski
parent e1a7d135b2
commit a273b6ef8c
3 changed files with 19 additions and 7 deletions
+2 -1
View File
@@ -85,7 +85,7 @@ public:
MovePicker(const Position&, Move, Depth, const HistoryStats&, Square);
MovePicker(const Position&, Move, const HistoryStats&, Value);
MovePicker(const Position&, Move, Depth, const HistoryStats&, const CounterMoveStats&, Move, Search::Stack*);
MovePicker(const Position&, Move, Depth, const HistoryStats&, const CounterMoveStats&, const CounterMoveStats&, Move, Search::Stack*);
Move next_move();
@@ -98,6 +98,7 @@ private:
const Position& pos;
const HistoryStats& history;
const CounterMoveStats* counterMoveHistory;
const CounterMoveStats* followupMoveHistory;
Search::Stack* ss;
Move countermove;
Depth depth;