mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 00:56:39 +08:00
Implement MaxGain table
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
committed by
Marco Costalba
parent
c43c5fe9e0
commit
cfe59de27d
@@ -1301,6 +1301,11 @@ void Position::undo_null_move() {
|
||||
}
|
||||
|
||||
|
||||
///
|
||||
PieceType Position::captured_piece() const {
|
||||
return st->capture;
|
||||
}
|
||||
|
||||
/// Position::see() is a static exchange evaluator: It tries to estimate the
|
||||
/// material gain or loss resulting from a move. There are three versions of
|
||||
/// this function: One which takes a destination square as input, one takes a
|
||||
|
||||
Reference in New Issue
Block a user