public class Agent extends AbstractMultiPlayer
Constructor and Description |
---|
Agent(StateObservationMulti stateObs,
ElapsedCpuTimer elapsedTimer,
int playerID)
initialize all variables for the agent
|
Modifier and Type | Method and Description |
---|---|
Types.ACTIONS |
act(StateObservationMulti stateObs,
ElapsedCpuTimer elapsedTimer)
return ACTION_NIL on every call to simulate doNothing player
|
act
draw, getAllActions, getLastAction, getPlayerID, isHuman, logAction, result, resultMulti, setPlayerID, setup, teardown
public Agent(StateObservationMulti stateObs, ElapsedCpuTimer elapsedTimer, int playerID)
stateObs
- Observation of the current state.elapsedTimer
- Timer when the action returned is due.playerID
- ID if this agentpublic Types.ACTIONS act(StateObservationMulti stateObs, ElapsedCpuTimer elapsedTimer)