Add eval cache infrastructure

With this patch series we want to introduce a per-thread
evaluation cache to store node evaluation and do not
rely anymore on the TT table for this.

This patch just introduces the infrastructure.

No functional change.
This commit is contained in:
Marco Costalba
2012-12-01 13:51:14 +01:00
parent 4502917665
commit 4e5d834e8e
3 changed files with 40 additions and 12 deletions

View File

@@ -22,6 +22,7 @@
#include <vector>
#include "evaluate.h"
#include "material.h"
#include "movepick.h"
#include "pawns.h"
@@ -108,6 +109,7 @@ public:
void wait_for_stop_or_ponderhit();
SplitPoint splitPoints[MAX_SPLITPOINTS_PER_THREAD];
Eval::Table evalTable;
MaterialTable materialTable;
PawnTable pawnTable;
size_t idx;