ai
Class PawnWeightedPieceHeuristic
java.lang.Object
ai.PawnWeightedPieceHeuristic
- All Implemented Interfaces:
- Heuristic
public class PawnWeightedPieceHeuristic
- extends Object
- implements Heuristic
The PawnWeightedHeuristic computes a bunch of values to consider,
then ignores most of them because they don't actually help.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PAWN_WEIGHT
public final int PAWN_WEIGHT
PIECE_WEIGHT
public final int PIECE_WEIGHT
ENDING_WEIGHT
public final int ENDING_WEIGHT
PUSH_WEIGHT
public final int PUSH_WEIGHT
PawnWeightedPieceHeuristic
public PawnWeightedPieceHeuristic()
PawnWeightedPieceHeuristic
public PawnWeightedPieceHeuristic(int pawn_weight,
int piece_weight,
int ending_weight,
int push_weight)
heuristic
public int heuristic(GameState currentState)
- Specified by:
heuristic
in interface Heuristic
- See Also:
Heuristic