public interface SimulationAgent
Modifier and Type | Method and Description |
---|---|
Future<Action> |
concurrentGetAction(Perception perception)
Concurrent version of getAction.
|
Action |
getAction(Perception p)
Ask the agent to act, based a new perception p aswell as other previously received perceptions in that run.
|
void |
remove()
Tell an agent that it was removed from the simulation and will never act again.
|
Action getAction(Perception p)
p
- new perceptionvoid remove()
Future<Action> concurrentGetAction(Perception perception)
perception
- Copyright © 2013. All Rights Reserved.