@Deprecated public interface SituatedEnvironment<AT extends SituatedAgent<AB,OB,PT,IT>,AB extends AgentBody<?,IT>,OB extends SituatedObject,PT extends Perception<?>,IT extends Influence> extends Environment<AT>
Modifier and Type | Method and Description |
---|---|
<T extends AB> |
getAgentBody(AgentIdentifier agent)
Deprecated.
Replies the body of the agent inside the environment.
|
Collection<AB> |
getAllAgentBodies()
Deprecated.
Replies all the bodies of the agents inside the environment.
|
OB |
getObjectBody(Identifier object)
Deprecated.
Replies the location of the object (excluding
agents) inside the environment.
|
boolean |
influence(IT... influences)
Deprecated.
Send an influence to the environment.
|
PT[] |
perceive(AgentIdentifier agent)
Deprecated.
Compute and replies the perceptions for the specified agent.
|
getSimulationClock, init, isAlive, postAgentScheduling, preAgentScheduling, putAgent, removeAgent, shutdown
Collection<AB> getAllAgentBodies()
<T extends AB> T getAgentBody(AgentIdentifier agent)
OB getObjectBody(Identifier object)
boolean influence(IT... influences)
influences
- is the list of influences to send to this environment.true
if the influences was registered,
otherwise false
PT[] perceive(AgentIdentifier agent)
Copyright © 2003-2013 Arakhnê.org Members. All rights reserved under LGPL license terms.