mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 01:56:58 +08:00
Remove history counters
Instead decrement history value on failure. After 999 games at 1+0 Mod vs Orig +236 =558 -204 51.60% +11 ELO Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -47,14 +47,11 @@ public:
|
||||
History();
|
||||
void clear();
|
||||
void success(Piece p, Square to, Depth d);
|
||||
void failure(Piece p, Square to);
|
||||
void failure(Piece p, Square to, Depth d);
|
||||
int move_ordering_score(Piece p, Square to) const;
|
||||
bool ok_to_prune(Piece p, Square to, Depth d) const;
|
||||
|
||||
private:
|
||||
int history[16][64]; // [piece][square]
|
||||
int successCount[16][64];
|
||||
int failureCount[16][64];
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user