explicit Thread(size_t);
virtual ~Thread();
virtual void search();
+ void clear();
void idle_loop();
void start_searching();
void wait_for_search_finished();
Depth rootDepth, completedDepth;
CounterMoveHistory counterMoves;
ButterflyHistory mainHistory;
+ CapturePieceToHistory captureHistory;
ContinuationHistory contHistory;
};
void search() override;
void check_time();
- bool easyMovePlayed, failedLow;
- double bestMoveChanges;
+ bool failedLow;
+ double bestMoveChanges, previousTimeReduction;
Value previousScore;
int callsCnt;
};