bool has_repeated() const;
int rule50_count() const;
Score psq_score() const;
+ Value psq_eg_stm() const;
Value non_pawn_material(Color c) const;
Value non_pawn_material() const;
return psq;
}
+inline Value Position::psq_eg_stm() const {
+ return (sideToMove == WHITE ? 1 : -1) * eg_value(psq);
+}
+
inline Value Position::non_pawn_material(Color c) const {
return st->nonPawnMaterial[c];
}