public class DistanceFromGoalHeuristic extends Heuristic
| Constructor and Description |
|---|
DistanceFromGoalHeuristic() |
| Modifier and Type | Method and Description |
|---|---|
double |
heuristic(GameState gameState,
int forPlayer)
takes a current state and compares it with a goal state element by element, and sums the number of differences - not implemented yet
|
availableHeuristics, getHeuristicpublic double heuristic(GameState gameState, int forPlayer)