3 #ifndef EVAL_PPAIR_PIECEPAIRWITHSTAND_H
4 #define EVAL_PPAIR_PIECEPAIRWITHSTAND_H
22 template <
class Table>
34 static int standBonus(
const SimpleState& state);
52 const Piece old_piece=state.pieceAt(from);
54 diff += Table::Piece_Value.promoteValue(newPtypeO);
60 PtypeO victim,
int promote_mask)
65 const Piece old_piece=state.pieceAt(from);
67 bonus += Table::Piece_Value.promoteValue(newPtypeO);
70 + Table::Piece_Value.captureValue(victim) + bonus;
80 diff += Table::Piece_Value.promoteValue(last_move.
ptypeO());
84 diff += Table::Piece_Value.captureValue(captured) + bonus;