Have fun with union in book.cpp

Fancy way to use an union to map polyglot
zobrist keys in one go.

Also some renaming while there.

No functional change.
This commit is contained in:
Marco Costalba
2013-01-05 15:24:18 +01:00
parent bff65a211f
commit 9b1cf3cf43
4 changed files with 34 additions and 33 deletions

View File

@@ -97,7 +97,7 @@ class TranspositionTable {
public:
TranspositionTable();
~TranspositionTable();
~TranspositionTable();
void set_size(size_t mbSize);
void clear();
void store(const Key posKey, Value v, Bound type, Depth d, Move m, Value statV, Value kingD);