Add a second level of follow-up moves

STC:
LLR: 2.95 (-2.94,2.94) [0.00,5.00]
Total: 6438 W: 1229 L: 1077 D: 4132

LTC:
LLR: 2.96 (-2.94,2.94) [0.00,5.00]
Total: 4000 W: 605 L: 473 D: 2922

bench: 7378965

Resolves #636
This commit is contained in:
loco-loco
2016-04-17 15:14:07 +01:00
committed by Joona Kiiski
parent 7eaea3848c
commit ec6aab0136
4 changed files with 72 additions and 51 deletions

View File

@@ -79,10 +79,9 @@ public:
MovePicker(const MovePicker&) = delete;
MovePicker& operator=(const MovePicker&) = delete;
MovePicker(const Position&, Move, const HistoryStats&, Value);
MovePicker(const Position&, Move, Depth, const HistoryStats&, Square);
MovePicker(const Position&, Move, Depth, const HistoryStats&,
const CounterMoveStats&, const CounterMoveStats&, Move, Search::Stack*);
MovePicker(const Position&, Move, Value);
MovePicker(const Position&, Move, Depth, Square);
MovePicker(const Position&, Move, Depth, Search::Stack*);
Move next_move();
@@ -93,10 +92,7 @@ private:
ExtMove* end() { return endMoves; }
const Position& pos;
const HistoryStats& history;
const CounterMoveStats* counterMoveHistory;
const CounterMoveStats* followupMoveHistory;
Search::Stack* ss;
const Search::Stack* ss;
Move countermove;
Depth depth;
Move ttMove;