Package | Description |
---|---|
s3games.ai | |
s3games.gui |
Modifier and Type | Method and Description |
---|---|
void |
AStarStrategy.learn(Game game) |
void |
BreadthFirstSearchStrategy.learn(Game game)
no learning for BFS yet - could learn the best path, and then play() could just follow it - future work...
|
void |
DepthFirstSearchStrategy.learn(Game game)
no learning for DFS yet - could learn the best path, and then play() could just follow it - future work...
|
void |
MiniMaxStochasticStrategy.learn(Game game)
constructs the a partial game tree with almost winning strategy so that play() will then be able to play according to it.
|
void |
MiniMaxStrategy.learn(Game game)
constructs the a full game tree with winning strategy so that play() will then be able to play according to it.
|
void |
MonteCarloRatioStrategy.learn(Game game)
constructs the a full game tree with almost winning strategy so that play() will then be able to play according to it.
|
void |
MonteCarloRatioStrategy2.learn(Game game)
constructs the a full game tree with almost winning strategy so that play() will then be able to play according to it.
|
void |
MonteCarloStrategy.learn(Game game) |
void |
RandomGeneralStrategy.learn(Game game)
random does not learn
|
abstract void |
Strategy.learn(Game game)
learn a strategy for the specified game
|
Modifier and Type | Method and Description |
---|---|
void |
GameWindow.setGame(Game g,
Switch gameRuns)
set the reference to the specified game and the game running switch,
show the game board in the window.
|