Classes |
struct | moves |
Functions |
void | board_to_string (char *s, float *board) |
int * | calculate_liberties (float *board) |
void | engine_go (char *filename, char *weightfile, int multi) |
char * | fgetgo (FILE *fp) |
void | flip_board (float *board) |
int | generate_move (network net, int player, float *board, int multi, float thresh, float temp, char *ko, int print) |
int | legal_go (float *b, char *ko, int p, int r, int c) |
moves | load_go_moves (char *filename) |
int | makes_safe_go (float *b, int *lib, int p, int r, int c) |
void | move_go (float *b, int p, int r, int c) |
void | predict_move (network net, float *board, float *move, int multi) |
void | print_board (float *board, int swap, int *indexes) |
void | propagate_liberty (float *board, int *lib, int *visited, int row, int col, int side) |
void | random_go_moves (moves m, float *boards, float *labels, int n) |
void | remove_connected (float *b, int *lib, int p, int r, int c) |
void | run_go (int argc, char **argv) |
float | score_game (float *board) |
void | self_go (char *filename, char *weightfile, char *f2, char *w2, int multi) |
void | string_to_board (char *s, float *board) |
int | suicide_go (float *b, int p, int r, int c) |
void | test_go (char *cfg, char *weights, int multi) |
void | train_go (char *cfgfile, char *weightfile) |
void | valid_go (char *cfgfile, char *weightfile, int multi) |
Variables |
int | inverted = 1 |
static const int | nind = 5 |
int | noi = 1 |