Material::Table materialTable;
Endgames endgames;
size_t idx, PVIdx;
- int maxPly;
+ int selDepth;
std::atomic<uint64_t> nodes, tbHits;
Position rootPos;
Search::RootMoves rootMoves;
- std::atomic<Depth> rootDepth;
+ Depth rootDepth;
Depth completedDepth;
CounterMoveStat counterMoves;
ButterflyHistory history;
uint64_t nodes_searched() const;
uint64_t tb_hits() const;
+ std::atomic_bool stop, stopOnPonderhit;
+
private:
StateListPtr setupStates;
};