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