Xiangiqgame
AI engine for Xiangqi
|
Removes old entries from TranspositionTableForConcepts to prevent excessive memory use. More...
#include <zobrist_for_concepts.hpp>
Public Member Functions | |
TranspositionTablePrunerForConcepts (const TranspositionTablePrunerForConcepts &)=delete | |
TranspositionTablePrunerForConcepts & | operator= (const TranspositionTablePrunerForConcepts &)=delete |
TranspositionTablePrunerForConcepts (TranspositionTableForConcepts< KeyType, NumConfKeys > &tr_table, TranspositionTableGuardForConcepts &tr_table_guard) | |
~TranspositionTablePrunerForConcepts () | |
void | Start () |
void | Stop () |
Private Member Functions | |
void | UnsafePruneEntry () |
void | ThreadSafePruneEntry () |
void | RepeatedlyPrune () |
Private Attributes | |
TranspositionTableForConcepts< KeyType, NumConfKeys > & | tr_table_ |
TranspositionTableGuardForConcepts & | tr_table_guard_ |
std::thread | pruning_thread_ |
std::atomic< bool > | keep_running_ |
Removes old entries from TranspositionTableForConcepts to prevent excessive memory use.
Definition at line 250 of file zobrist_for_concepts.hpp.
|
delete |
|
inline |
Definition at line 262 of file zobrist_for_concepts.hpp.
|
inline |
Definition at line 271 of file zobrist_for_concepts.hpp.
|
delete |
|
inlineprivate |
Definition at line 298 of file zobrist_for_concepts.hpp.
|
inline |
Definition at line 277 of file zobrist_for_concepts.hpp.
|
inline |
Definition at line 282 of file zobrist_for_concepts.hpp.
|
inlineprivate |
Definition at line 292 of file zobrist_for_concepts.hpp.
|
inlineprivate |
Definition at line 287 of file zobrist_for_concepts.hpp.
|
private |
Definition at line 254 of file zobrist_for_concepts.hpp.
|
private |
Definition at line 253 of file zobrist_for_concepts.hpp.
|
private |
Definition at line 251 of file zobrist_for_concepts.hpp.
|
private |
Definition at line 252 of file zobrist_for_concepts.hpp.