bool is_chess960() const;
Thread* this_thread() const;
uint64_t nodes_searched() const;
- void set_nodes_searched(uint64_t n);
bool is_draw() const;
int rule50_count() const;
Score psq_score() const;
return nodes;
}
-inline void Position::set_nodes_searched(uint64_t n) {
- nodes = n;
-}
-
inline bool Position::opposite_bishops() const {
return pieceCount[W_BISHOP] == 1
&& pieceCount[B_BISHOP] == 1