ai
Class PieceHeuristic
java.lang.Object
ai.PieceHeuristic
- All Implemented Interfaces:
- Heuristic
public class PieceHeuristic
- extends Object
- implements Heuristic
The PieceHeuristic simply minimizes the number of piece controlled.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PieceHeuristic
public PieceHeuristic()
heuristic
public int heuristic(GameState currentState)
- Specified by:
heuristic
in interface Heuristic
- See Also:
Heuristic