|
int | legal_go (float *b, float *ko, int p, int r, int c) |
|
int | check_ko (float *x, float *ko) |
|
char * | fgetgo (FILE *fp) |
|
moves | load_go_moves (char *filename) |
|
void | string_to_board (char *s, float *board) |
|
void | board_to_string (char *s, float *board) |
|
data | random_go_moves (moves m, int n) |
|
void | train_go (char *cfgfile, char *weightfile, char *filename, int *gpus, int ngpus, int clear) |
|
void | print_board (FILE *stream, float *board, int player, int *indexes) |
|
void | flip_board (float *board) |
|
float | predict_move2 (network *net, float *board, float *move, int multi) |
|
void | move_go (float *b, int p, int r, int c) |
|
int | compare_board (float *a, float *b) |
|
void | free_mcts (mcts_tree *root) |
|
float * | network_predict_rotations (network *net, float *next) |
|
mcts_tree * | expand (float *next, float *ko, network *net) |
|
float * | copy_board (float *board) |
|
float | select_mcts (mcts_tree *root, network *net, float *prev, float cpuct) |
|
mcts_tree * | run_mcts (mcts_tree *tree, network *net, float *board, float *ko, int player, int n, float cpuct, float secs) |
|
mcts_tree * | move_mcts (mcts_tree *tree, int index) |
|
move | pick_move (mcts_tree *tree, float temp, int player) |
|
int | suicide_go (float *b, int p, int r, int c) |
|
void | valid_go (char *cfgfile, char *weightfile, int multi, char *filename) |
|
int | print_game (float *board, FILE *fp) |
|
int | stdin_ready () |
|
mcts_tree * | ponder (mcts_tree *tree, network *net, float *b, float *ko, int player, float cpuct) |
|
void | engine_go (char *filename, char *weightfile, int mcts_iters, float secs, float temp, float cpuct, int anon, int resign) |
|
void | test_go (char *cfg, char *weights, int multi) |
|
float | score_game (float *board) |
|
void | self_go (char *filename, char *weightfile, char *f2, char *w2, int multi) |
|
void | run_go (int argc, char **argv) |
|