score4.h File Reference

Score Four header file. More...

Go to the source code of this file.

Classes

struct  MOVE
 MOVE structure. More...
struct  W_ENTRY
 MOVE structure. More...

Defines

#define CUBE_DIM   4
 Dimensions of a cube.
#define NUM_PLAINS   ((3 * CUBE_DIM) + 6)
 Number of plains in a cube.
#define PLAIN_SZ   8
 sizeof(short) * PLAIN_SZ = 16
#define MAX_INT   0x7FFFFFFF
 Maximum integer - defined for a 32 bit word.
#define MAX_VALUE   (MAX_INT - 1)
 Maximum board value.
#define WIN_VALUE   (MAX_VALUE - 1)
 Maximum win value.
#define THREE_ROW   (MAX_VALUE - 1)
 Three-in-a-row.
#define TRAP1_VALUE   (THREE_ROW / 14)
 Value of a plain that is one move away from a trap.
#define TRAP2_VALUE   (TRAP1_VALUE / 14)
 Value of a plain that is two moves away from a trap.
#define COMP_MOVE   5
 Value of a computer move in the board.
#define OPP_MOVE   1
 Value of an opponent's move in the board.
#define TRUE   1
 True.
#define FALSE   0
 False.
#define NOTSET   2
 Not set.
#define MAX_ROWS   7
 Maximum number of possible wins as a result of 1 move.
#define MAX_PLY   2
 Maximum polynomial.
#define LEN_WTABLE   512
 Length of wtable.
#define MEM_FILE   "score4.m"
 Memory file.
#define NUM_ROWS   76
 There are 76 different rows in the cube.
#define NUM_VALUES   5
 Number of different coefficient values used for statistical analysis.
#define PLAYOFF_LEN   (NUM_VALUES * NUM_VALUES * NUM_VALUES)
 The number of tournaments used for each statistical analysis.
#define MAX_COEF   MAX_INT
 Maximum coefficient value.
#define INTERVAL_SZ   (MAX_COEF / NUM_VALUES)
 Interval size.


Detailed Description

Score Four header file.

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