Xiangiqgame
AI engine for Xiangqi
|
Removes old entries from TranspositionTable to prevent excessive memory use. More...
#include <zobrist.hpp>
Public Member Functions | |
TranspositionTablePruner (const TranspositionTablePruner &)=delete | |
TranspositionTablePruner & | operator= (const TranspositionTablePruner &)=delete |
TranspositionTablePruner (TranspositionTable< KeyType, NumConfKeys > &tr_table, TranspositionTableGuard &tr_table_guard) | |
~TranspositionTablePruner () | |
void | Start () |
void | Stop () |
Private Member Functions | |
void | UnsafePruneEntry () |
void | ThreadSafePruneEntry () |
void | RepeatedlyPrune () |
Private Attributes | |
TranspositionTable< KeyType, NumConfKeys > & | tr_table_ |
TranspositionTableGuard & | tr_table_guard_ |
std::thread | pruning_thread_ |
std::atomic< bool > | keep_running_ |
Removes old entries from TranspositionTable to prevent excessive memory use.
Definition at line 358 of file zobrist.hpp.
|
delete |
|
inline |
Definition at line 368 of file zobrist.hpp.
|
inline |
Definition at line 377 of file zobrist.hpp.
|
delete |
|
inlineprivate |
Definition at line 403 of file zobrist.hpp.
|
inline |
Definition at line 383 of file zobrist.hpp.
|
inline |
Definition at line 387 of file zobrist.hpp.
|
inlineprivate |
Definition at line 397 of file zobrist.hpp.
|
inlineprivate |
Definition at line 392 of file zobrist.hpp.
|
private |
Definition at line 362 of file zobrist.hpp.
|
private |
Definition at line 361 of file zobrist.hpp.
|
private |
Definition at line 359 of file zobrist.hpp.
|
private |
Definition at line 360 of file zobrist.hpp.