public interface AsynchronousAgent extends Agent
Agent
which searches for actions asynchronously.Modifier and Type | Method and Description |
---|---|
void |
beginAsynchronousSearch(int player,
State rootNode)
Instructs the Agent to kick off an asynchronous action search and then
return.
|
ActionScore |
getAsynchronousSearchResult()
Halts the current asynchronous action search and returns the result.
|
getStateRepresentation, pickActionBlocking
void beginAsynchronousSearch(int player, State rootNode)
player
- The player who this Agent is trying to optimize for.rootNode
- The current state of the game.ActionScore getAsynchronousSearchResult()