projects
/
stockfish
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Document asymmetric SEE pruning trick
[stockfish]
/
src
/
position.h
diff --git
a/src/position.h
b/src/position.h
index 2ad9294fc896e0fd2518c9122c846c8fe00a56db..0951b4669cd28ee61d32771a602d68a484d95de4 100644
(file)
--- a/
src/position.h
+++ b/
src/position.h
@@
-161,7
+161,6
@@
public:
int see(Move m) const;
int see_sign(Move m) const;
int see_asymm(Move m, int asymmThreshold) const;
int see(Move m) const;
int see_sign(Move m) const;
int see_asymm(Move m, int asymmThreshold) const;
- template <bool Asymmetric> int do_see(Move m, int asymmThreshold) const; //FIXME: private!!
// Accessing hash keys
Key key() const;
// Accessing hash keys
Key key() const;
@@
-195,6
+194,7
@@
private:
// Helper functions
void do_castle(Square kfrom, Square kto, Square rfrom, Square rto);
// Helper functions
void do_castle(Square kfrom, Square kto, Square rfrom, Square rto);
+ template<bool Asymmetric> int do_see(Move m, int asymmThreshold) const;
template<bool FindPinned> Bitboard hidden_checkers() const;
// Computing hash keys from scratch (for initialization and debugging)
template<bool FindPinned> Bitboard hidden_checkers() const;
// Computing hash keys from scratch (for initialization and debugging)