History code rewrite (#1122)

Rearrange and rename all history heuristic code. Naming
is now based on chessprogramming.wikispaces.com conventions
and the relations among the various heuristics are now more
clear and consistent.

No functional change.
This commit is contained in:
Marco Costalba
2017-05-26 08:42:50 +02:00
committed by GitHub
parent 24df0f72c0
commit ecd3218b6b
6 changed files with 80 additions and 73 deletions
+2 -2
View File
@@ -38,13 +38,13 @@ namespace Search {
struct Stack {
Move* pv;
CounterMoveStats* counterMoves;
PieceToHistory* history;
int ply;
Move currentMove;
Move excludedMove;
Move killers[2];
Value staticEval;
int history;
int statScore;
int moveCount;
};