@Deprecated public interface Environment<AT extends Agent>
The environment is also assumed to be a time reference for the agent society.
Modifier and Type | Method and Description |
---|---|
SimulationClock |
getSimulationClock()
Deprecated.
Replies the clock used by the environment.
|
void |
init()
Deprecated.
Initialize this environment.
|
boolean |
isAlive()
Deprecated.
Replies if this environment is alive.
|
void |
postAgentScheduling(Kernel<AT,?,?,?> runningKernel)
Deprecated.
This function is invoked by the kernel after
the scheduling of the agents.
|
void |
preAgentScheduling(Kernel<AT,?,?,?> runningKernel)
Deprecated.
This function is invoked by the kernel before
the scheduling of the agents.
|
void |
putAgent(AT agent)
Deprecated.
Put the given agent inside the environment.
|
void |
removeAgent(AgentIdentifier agent)
Deprecated.
Remove the given agent from the environment.
|
void |
shutdown()
Deprecated.
Shutdown this environment.
|
void init()
void shutdown()
void putAgent(AT agent)
The implementation of this method is problem-dependent because several type of environments should not contains the agents.
void removeAgent(AgentIdentifier agent)
The implementation of this method is problem-dependent because several type of environments should not contains the agents.
void preAgentScheduling(Kernel<AT,?,?,?> runningKernel)
runningKernel
- is the instance of the kernel that is running this environment.void postAgentScheduling(Kernel<AT,?,?,?> runningKernel)
runningKernel
- is the instance of the kernel that is running this environment.boolean isAlive()
If the environment is not alive, the multiagent kernel will quit.
SimulationClock getSimulationClock()
null
Copyright © 2003-2013 Arakhnê.org Members. All rights reserved under LGPL license terms.