-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmovepick.hpp
More file actions
17 lines (17 loc) · 767 Bytes
/
movepick.hpp
File metadata and controls
17 lines (17 loc) · 767 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once
#include "chess.hpp"
#include "types.h"
namespace movepick {
// Static Exchange Evaluation - evaluates material exchange on a square
int SEE(chess::Board&, chess::Move);
// Updates killer moves table for move ordering
void updateKillerMoves(chess::Move, int);
// Updates history heuristic table for move ordering
void updateHistoryHeuristic(chess::Move, int);
// Orders moves for regular search (with TT move, killers at given ply)
void orderMoves(chess::Board&, chess::Movelist&, chess::Move, int);
// Orders moves for quiescence search (captures/promotions)
void qOrderMoves(chess::Board&, chess::Movelist&);
// Killer moves table: [ply][slot] for move ordering heuristic
extern chess::Move killerMoves[Stockfish::MAX_PLY][2];
} // namespace movepick