|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SimulationAgent
This interface must be implemented by every object that is used in simulation as an agent.
Method Summary | |
---|---|
java.util.concurrent.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. |
Method Detail |
---|
Action getAction(Perception p)
p
- new perception
void remove()
java.util.concurrent.Future<Action> concurrentGetAction(Perception perception)
perception
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |