public interface Agent
Modifier and Type | Method and Description |
---|---|
State |
getStateRepresentation() |
ActionScore |
pickActionBlocking(int player,
State rootNode)
Picks an action for the provided player to take from the provided root
node.
|
ActionScore pickActionBlocking(int player, State rootNode)
player
- The player who this Agent is trying to optimize for.rootNode
- The current state of the game, using the state
representation this agent returned from
getStateRepresentation()
.State getStateRepresentation()