public class MiniMaxStrategy extends Strategy
Constructor and Description |
---|
MiniMaxStrategy(Heuristic h)
constructor requires a heuristic for evaluating states that are beyond the time limit
|
Modifier and Type | Method and Description |
---|---|
Player |
getPlayer(GameSpecification specs)
returns a minimax player for the specified game
|
void |
learn(Game game)
constructs the a full game tree with winning strategy so that play() will then be able to play according to it.
|
availableStrategies, getStrategy, learnable, setHeuristic
public MiniMaxStrategy(Heuristic h)
public Player getPlayer(GameSpecification specs)