|
io-chess
UCI chess engine
|
16-byte entry dedicated exclusively to caching static evaluations. More...
#include <TT.h>
Public Member Functions | |
| void | store (uint64_t key, int16_t score) |
| Stores the static evaluation atomically. | |
| bool | probe (uint64_t key, int16_t &score) const |
| Probes for a cached static evaluation. | |
Public Attributes | |
| std::atomic< uint64_t > | payload |
| Packed static evaluation score. | |
| std::atomic< uint64_t > | signature |
| Checksum signature. | |
16-byte entry dedicated exclusively to caching static evaluations.
Helps offload the expensive neural network evaluations without evicting valuable search trees. Uses the same XOR checksum mechanism.
|
inline |
Probes for a cached static evaluation.

|
inline |
Stores the static evaluation atomically.
| std::atomic<uint64_t> EvalEntry::payload |
Packed static evaluation score.
| std::atomic<uint64_t> EvalEntry::signature |
Checksum signature.