ai
Class NegativePieceHeuristic
java.lang.Object
ai.NegativePieceHeuristic
- All Implemented Interfaces:
- Heuristic
public class NegativePieceHeuristic
- extends Object
- implements Heuristic
The PieceHeuristic maximizes the number of pieces controlled.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BLOCKED_WEIGHT
public static final int BLOCKED_WEIGHT
- See Also:
- Constant Field Values
ISOLATED_WEIGHT
public static final int ISOLATED_WEIGHT
- See Also:
- Constant Field Values
NegativePieceHeuristic
public NegativePieceHeuristic()
heuristic
public int heuristic(GameState currentState)
- Specified by:
heuristic in interface Heuristic
- See Also:
Heuristic