X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fposition.h;h=0951b4669cd28ee61d32771a602d68a484d95de4;hp=8d15f266d11f04607cfcb3ce85be26ea8785acd1;hb=d23454854e72e1311363a8c98cd58a5d44c427f9;hpb=c5ec94d0f1b128fc2c691c7231663a345409d5cc diff --git a/src/position.h b/src/position.h index 8d15f266..0951b466 100644 --- a/src/position.h +++ b/src/position.h @@ -160,6 +160,7 @@ public: // Static exchange evaluation int see(Move m) const; int see_sign(Move m) const; + int see_asymm(Move m, int asymmThreshold) const; // Accessing hash keys Key key() const; @@ -193,6 +194,7 @@ private: // Helper functions void do_castle(Square kfrom, Square kto, Square rfrom, Square rto); + template int do_see(Move m, int asymmThreshold) const; template Bitboard hidden_checkers() const; // Computing hash keys from scratch (for initialization and debugging)