|
void | game_statistics_cumulate (GameStatistics *global, const GameStatistics *local) |
| Accumulate statistics: add local data to global ones. More...
|
|
static void | count_game (const Board *board, const int depth, GameStatistics *global_stats) |
| Move generator performance test function. More...
|
|
void | count_games (const Board *board, const int depth) |
| Move generator performance test. More...
|
|
static void | estimate_game (const Board *board, const int depth, Random *r, double *n) |
| Estimate move counts from a single game. More...
|
|
void | estimate_games (const Board *board, const long long n) |
| Move estimate games. More...
|
|
static void | test_mobility (const Board *board, const int ply, Random *r, int *move, int *max_mobility, int *max_empties, const unsigned long long n) |
| Estimate move counts from a single game. More...
|
|
void | seek_highest_mobility (const Board *board, const unsigned long long t) |
| Move estimate games. More...
|
|
static void | gamehash_init (GameHashTable *hash, int bitsize) |
| Hash table initialisation. More...
|
|
static void | gamehash_delete (GameHashTable *hash) |
| Hash table resource freeing. More...
|
|
static void | gamehash_store (GameHashTable *hash, const Board *b, const int depth, const GameStatistics *stats) |
| Store a game position. More...
|
|
static bool | gamehash_fail (GameHashTable *hash, const Board *b, const int depth, GameStatistics *stats) |
| Seek for a position in the hash table. More...
|
|
static void | quick_count_game_6x6 (GameHashTable *hash, const Board *board, const int depth, GameStatistics *global_stats) |
| Count games recursively. More...
|
|
static void | quick_count_game (GameHashTable *hash, const Board *board, const int depth, GameStatistics *global_stats) |
| Count games recursively. More...
|
|
void | quick_count_games (const Board *board, const int depth, const int size) |
| Count games. More...
|
|
static void | compact_board (const Board *b, CBoard *c) |
|
static void | positionarray_init (PosArray *array) |
| array initialisation. More...
|
|
static void | positionarray_delete (PosArray *array) |
| array supression. More...
|
|
static bool | positionarray_append (PosArray *array, const CBoard *b) |
| Append a position. More...
|
|
static void | boardcache_init (BoardCache *hash, int bitsize) |
| Initialisation of the hash table. More...
|
|
static void | boardcache_delete (BoardCache *hash) |
| Free the hash table. More...
|
|
static bool | boardcache_undone (BoardCache *hash, const Board *b) |
| Append a shape to the hash table. More...
|
|
static void | boardcache_append (BoardCache *hash, const Board *b) |
|
void | positionhash_init (PositionHash *hash, int bitsize) |
| Initialisation of the hash table. More...
|
|
void | positionhash_delete (PositionHash *hash) |
| Free the hash table. More...
|
|
bool | positionhash_append (PositionHash *hash, const Board *b) |
| Append a position to the hash table. More...
|
|
static unsigned long long | count_position (PositionHash *hash, BoardCache *cache, const Board *board, const int depth) |
| Recursively count positions. More...
|
|
static unsigned long long | count_position_6x6 (PositionHash *hash, BoardCache *cache, const Board *board, const int depth) |
| Recursively count positions. More...
|
|
void | count_positions (const Board *board, const int depth, const int size) |
| Count positions. More...
|
|
unsigned long long | shape_unique (unsigned long long shape) |
| unique shape. More...
|
|
unsigned long long | shape_get_hash_code (const unsigned long long shape) |
| Compute a hash code. More...
|
|
static void | shapearray_init (ShapeArray *array) |
| array initialisation. More...
|
|
static void | shapearray_delete (ShapeArray *array) |
| array supression. More...
|
|
static bool | shapearray_append (ShapeArray *array, const unsigned long long shape) |
| Append a shape into the array. More...
|
|
static void | shapehash_init (ShapeHash *hash, int bitsize) |
| Initialisation of the hash table. More...
|
|
static void | shapehash_delete (ShapeHash *hash) |
| Free the hash table. More...
|
|
static bool | shapehash_append (ShapeHash *hash, const Board *b) |
| Append a shape to the hash table. More...
|
|
static unsigned long long | count_shape (ShapeHash *hash, BoardCache *cache, const Board *board, const int depth) |
| Recursively count shapes. More...
|
|
static unsigned long long | count_shape_6x6 (ShapeHash *hash, BoardCache *cache, const Board *board, const int depth) |
| Recursively count shapes. More...
|
|
void | count_shapes (const Board *board, const int depth, const int size) |
| Count shapes. More...
|
|
bool | seek_position (const Board *target, const Board *board, Line *line) |
| seek a game that reach to a position More...
|
|