tournament_B.c File Reference

Play a Score Four Tournament (Version B). More...

#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 F_START   .05
 Start factor.
#define F_END   .05
 End factor.
#define GAMES_IN_SET   4
 Number of games in a set.
#define TOURNAMENTS   20
 Number of tournaments.

Functions

int play (int alpha_first)
 Play a game between Alpha and Beta.
static int _learn (float factor)
 Play a Score Four Tournament, that is, 2 games for each coefficient, for a total of 6 games.
void tournament_B (void)
 Play a Score Four Tournament (Version B).

Variables

int a_coeff []
 Alpha coefficients.
int b_coeff []
 Beta coefficients.


Detailed Description

Play a Score Four Tournament (Version B).

Author:
Stephen A. Broeker
Copyright (c) 1989 Stephen A. Broeker All Rights Reserved.
Generated on Sat Sep 24 09:00:12 2011 for ScoreFour by  doxygen 1.4.5