void undo_null_move();
// Static Exchange Evaluation
- Value see(Move m) const;
- Value see_sign(Move m) const;
+ bool see_ge(Move m, Value value) const;
// Accessing hash keys
Key key() const;
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