Implement MaxGain table

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Joona Kiiski
2010-01-21 16:50:23 +02:00
committed by Marco Costalba
parent c43c5fe9e0
commit cfe59de27d
6 changed files with 130 additions and 1 deletions

View File

@@ -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