This is the doxygen documentation for gtkboard.
.#include "game.h"#include "move.h"#include "engine.h"#include <signal.h>#include <string.h>#include <stdlib.h>#include <assert.h>#include <math.h>Go to the source code of this file.
Functions | |
| int | hash_get_eval (byte *, int, int, int, float *) |
| void | hash_print_stats () |
| void | hash_insert (byte *, int, int, int, float, byte *move) |
| void | hash_clear () |
| void | hash_insert_move (byte *, int, int, byte *) |
| byte* | hash_get_move (byte *, int, int) |
| float | ab_with_tt (Pos *pos, int player, int level, float alpha, float beta, byte *best_movep) |
| float | ab_with_tt_incr (Pos *pos, int player, int level, float eval, float alpha, float beta, byte *best_movep) |
| void | catch_USR1 (int sig) |
| byte* | ab_dfid (Pos *pos, int player) |
| Alpha-beta search function (using depth first iterative deepening). | |
Variables | |
| int | time_per_move = 5000 |
| Max time per move. alpha-beta will often return earlier than this. | |
| gboolean | engine_stop_search = FALSE |
| If an event occurs when we are thinking this will be set to TRUE so that we will know to stop thinking. | |
| gboolean | ab_tree_exhausted = FALSE |
| int | ab_leaf_cnt |
| gboolean | opt_verbose |
| gboolean | game_use_hash = TRUE |
|
|
Alpha-beta search function (using depth first iterative deepening).
|
|
|
Definition at line 51 of file ab.c. Referenced by ab_dfid(). |
|
|
|
|
|
|
|
|
Definition at line 212 of file hash.c. Referenced by ab_dfid(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 224 of file hash.c. Referenced by ab_dfid(). |
|
|
|
|
|
|
|
|
If an event occurs when we are thinking this will be set to TRUE so that we will know to stop thinking.
|
|
|
|
|
|
|
|
|
Max time per move. alpha-beta will often return earlier than this.
|