Q-learning-in-C/q-learning.h

7 lines
335 B
C

#include "hash-table.h"
short float_argmax(float *arr, short length);
short bot_choose_action(struct Node **map, short *board, char *state);
short opponent_random_action(short *board);
float get_estimate_reward(struct Node **map, short *board, char *state);
void run(struct Node **map, short *board, bool train, int times, bool plot);