|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AgentProvider
This interface offers methods to retrieve a set of agents from the implementing object and to allocate agents from it. Those agents won't be available until they are removed via SimulationAgent.remove().
Method Summary | |
---|---|
void |
allocateAgent(UniqueSimulationAgent agent)
Allocate an agent. |
void |
freeAgent(UniqueSimulationAgent agent)
Free an agent |
UniqueSimulationAgent[] |
getAgents(AgentParameter agentparameter)
Retrieve a list of available agents, fulfilling requirements as mentioned in agentparameter; |
Method Detail |
---|
UniqueSimulationAgent[] getAgents(AgentParameter agentparameter)
p
- requirements the returned agents should fulfill.
void allocateAgent(UniqueSimulationAgent agent)
agent
- to allocate.void freeAgent(UniqueSimulationAgent agent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |