public class MoreStonesHeuristic extends Heuristic
Constructor and Description |
---|
MoreStonesHeuristic(GameSpecification specs)
constructor needs the game specification
|
Modifier and Type | Method and Description |
---|---|
double |
heuristic(GameState gameState,
int forPlayer)
returns a value -1..1 depending on the ratio of the player's and opponent's elements on the relevant locations on the board
|
availableHeuristics, getHeuristic
public MoreStonesHeuristic(GameSpecification specs)
public double heuristic(GameState gameState, int forPlayer)