|
Algorithm Development Kit 1.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectalgs.model.problems.tictactoe.model.BoardEvaluation
public class BoardEvaluation
Evaluation of the board state as taken from Nilsson, p. 139
Constructor Summary | |
---|---|
BoardEvaluation()
|
Method Summary | |
---|---|
int |
score(IGameState state,
IPlayer ip)
Provides a default evaluation function for the given board state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BoardEvaluation()
Method Detail |
---|
public int score(IGameState state, IPlayer ip)
If the board state is:
score
in interface IGameScore
state
- The state of the gameip
- The player who has just made their move
|
Algorithm Development Kit 1.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |