|
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.DefaultEvaluation
public class DefaultEvaluation
Evaluation of the board state.
This evaluation is not that useful, but it can be used as a kind of
strawMan when compared with a real evaluation, such as BoardEvaluation
.
Constructor Summary | |
---|---|
DefaultEvaluation()
|
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 DefaultEvaluation()
Method Detail |
---|
public int score(IGameState state, IPlayer ip)
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 |