MovePicker: introduce per square MVV/LVA ordering

Just added the infrastructure, no functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2008-11-14 21:49:46 +01:00
parent 4df8651c82
commit 940c53c366
2 changed files with 46 additions and 2 deletions

View File

@@ -77,11 +77,14 @@ private:
void score_qcaptures();
Move pick_move_from_list();
int find_best_index();
int MovePicker::find_best_index(Bitboard* squares, int values[]);
const Position& pos;
Move ttMove, mateKiller, killer1, killer2;
Bitboard pinned, dc;
MoveStack moves[256], badCaptures[64];
Bitboard capSquares;
int capSqValues[64];
bool pvNode;
Depth depth;
int phaseIndex;