ai
Class ScaledPieceHeuristic

java.lang.Object
  extended by ai.ScaledPieceHeuristic
All Implemented Interfaces:
Heuristic

public class ScaledPieceHeuristic
extends Object
implements Heuristic

The ScaledPieceHeuristic minimizes the fraction of pieces controlled.


Constructor Summary
ScaledPieceHeuristic()
           
 
Method Summary
 int heuristic(GameState currentState)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScaledPieceHeuristic

public ScaledPieceHeuristic()
Method Detail

heuristic

public int heuristic(GameState currentState)
Specified by:
heuristic in interface Heuristic
See Also:
Heuristic