Xiangiqgame
AI engine for Xiangqi
|
Calculate / manage board state and associate Minimax results. More...
Classes | |
class | PseudoRandomKeyGenerator |
Generates pseudorandom integers. More... | |
class | RandomKeyGenerator |
Generates random integers (not pseudorandom) using std::random_device. More... | |
class | TranspositionTable |
Stores and manages key-value pairs consisting of a board_state (from a boardstate::ZobristComponent) and results of Minimax calculations performed by boardstate::MinimaxMoveEvaluator. More... | |
class | TranspositionTableEntry |
Data structure to hold calculation results that get entered into a boardstate::TranspositionTable. More... | |
class | TranspositionTableEntryForConcepts |
Data structure to hold calculation results that get entered into a boardstate::TranspositionTableForConcepts. More... | |
class | TranspositionTableForConcepts |
Stores and manages key-value pairs consisting of a board_state (from a boardstate::ZobristComponent) and results of Minimax calculations performed by boardstate::MinimaxMoveEvaluator. More... | |
class | TranspositionTableGuard |
Contains std::mutex that other classes lock before accessing TranspositionTable. More... | |
class | TranspositionTableGuardForConcepts |
Contains std::mutex that other classes lock before accessing TranspositionTableForConcepts. More... | |
class | TranspositionTablePruner |
Removes old entries from TranspositionTable to prevent excessive memory use. More... | |
class | TranspositionTablePrunerForConcepts |
Removes old entries from TranspositionTableForConcepts to prevent excessive memory use. More... | |
class | ZobristCalculator |
Uses Zobrist hashing to calculate a "reasonably unique" integer value for each board configuration encountered during a game. More... | |
class | ZobristCalculatorFactory |
class | ZobristCalculatorForConcepts |
Uses Zobrist hashing to calculate a "reasonably unique" integer value for each board configuration encountered during a game. More... | |
class | ZobristComponent |
Container for one or more boardstate::ZobristCalculator objects. More... | |
class | ZobristComponentFactory |
class | ZobristComponentForConcepts |
Container for one or more boardstate::ZobristCalculatorForConcepts objects. More... | |
class | ZobristCoordinator |
Implements the BoardStateCoordinator interface, providing a moveselection::MinimaxMoveEvaluator with "reasonably unique" hash values for each encountered board state, and the ability to read/write board_state-MinimaxResult pairs in a boardstate::TranspositionTable. More... | |
class | ZobristCoordinatorFactory |
class | ZobristCoordinatorForConcepts |
Functions | |
template<typename IntType > | |
std::string | IntToHexString (IntType num) |
template<typename IntType > | |
void | PrintHex (IntType num) |
Calculate / manage board state and associate Minimax results.
std::string boardstate::IntToHexString | ( | IntType | num | ) |
Definition at line 70 of file key_generator.hpp.
void boardstate::PrintHex | ( | IntType | num | ) |
Definition at line 101 of file key_generator.hpp.