#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
#include <ctype.h>
#include <fcntl.h>
#include <malloc.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "assert.h"
#include "polylearn.h"
#include "score4.h"
Defines | |
| #define | FACTOR .05 |
| Factor. | |
| #define | GAMES_IN_SET 4 |
| Number of games in a set. | |
Functions | |
| int | play (int alpha_first) |
| Play a game between Alpha and Beta. | |
| static int | _learn (void) |
| Play a Score Four Tournament, that is, 4 games for each coefficient, for a total of 12 games. | |
| void | tournament_A (void) |
| Play a Score Four Tournament (Version A). | |
Variables | |
| int | a_coeff [] |
| Alpha coefficients. | |
| int | b_coeff [] |
| Beta coefficients. | |
1.4.5