public class AStarStrategy extends Strategy
Constructor and Description |
---|
AStarStrategy(Heuristic h)
construct an instance of the strategy
|
Modifier and Type | Method and Description |
---|---|
Player |
getPlayer(GameSpecification specs)
get a A* player object for the specified game
|
void |
learn(Game game)
learn a strategy for the specified game
|
availableStrategies, getStrategy, learnable, setHeuristic
public AStarStrategy(Heuristic h)
h
- a game-specific admissible heuristic for A*public Player getPlayer(GameSpecification specs)