p_plain.c File Reference

Calculate the scoring polynomial for a plain with a given win value - source file. 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 "score4.h"

Functions

int bitcount_1 (ushort iplain)
 Count the number of bits on in a plain.
int p_plain_1 (short a_plain, short b_plain, short value)
 Calculate the scoring polynomial for a plain with a given win value.

Variables

int * coeff_1
 Coefficients.


Detailed Description

Calculate the scoring polynomial for a plain with a given win value - source 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