X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fposition.h;h=0951b4669cd28ee61d32771a602d68a484d95de4;hp=fb7eb4b90cc79335ade326bcbeae0d59825c1fe6;hb=d23454854e72e1311363a8c98cd58a5d44c427f9;hpb=ea4e22be1da1ccbf316d27f2eb3b14d0e13388e4 diff --git a/src/position.h b/src/position.h index fb7eb4b9..0951b466 100644 --- a/src/position.h +++ b/src/position.h @@ -1,7 +1,7 @@ /* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2008 Tord Romstad (Glaurung author) - Copyright (C) 2008-2012 Marco Costalba, Joona Kiiski, Tord Romstad + Copyright (C) 2008-2013 Marco Costalba, Joona Kiiski, Tord Romstad Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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)