3 #ifndef _PIECE_PAIR_EVAL_H
4 #define _PIECE_PAIR_EVAL_H
61 template <
class Table>
76 unsigned int new_index);
78 unsigned int old_index,
unsigned int new_index);
80 unsigned int old_index,
unsigned int old_index2,
81 unsigned int new_index);
86 const Piece old_piece=state.pieceAt(from);
99 PtypeO victim,
int promote_mask)
101 const Piece old_piece=state.pieceAt(from);
113 unsigned int new_index);
115 unsigned int old_index,
unsigned int new_index);
117 unsigned int old_index,
unsigned int old_index2,
118 unsigned int new_index);
143 static bool setUp(
const char *filename);
153 template <
class Eval,
class Table>
164 int expect(
const SimpleState& state,
Move m)
const;
169 base_t::val += Eval::diffWithUpdate(new_state, last_move);
178 return Eval::diffAfterDropMove(state, to, move.
ptypeO());
182 return Eval::diffAfterCaptureMove(state, from, to,
187 return Eval::diffAfterSimpleMove(state, from,to,move.
promoteMask());