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:
Marco Costalba
2009-12-09 14:40:38 +01:00
parent 7bc72d092f
commit 2161d8b0b3
3 changed files with 13 additions and 33 deletions

View File

@@ -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];
};