Evaluate the board using the polynomial.

Evaluate the board using the polynomial. More...


Files

file  p_evaluate.c
 Evaluate the board using the polynomial - source file.

Functions

int p_evaluate_1 (short *aptr, short *bptr)
 Evaluate the board using the polynomial.

Detailed Description

Evaluate the board using the polynomial.


Function Documentation

p_evaluate_1 short *  a_board,
short *  b_board
 

Evaluate the board using the polynomial.

Parameters:
a_board short * : &board for player 1 (&a_board_1[0] or &b_board_1[0]).
b_board short * : &board for player 2 (&b_board_1[0] or &a_board_1[0]).
Returns:
int : polynomial score for the board.


Generated on Sat Sep 24 09:00:12 2011 for ScoreFour by  doxygen 1.4.5