de.cesr.sesamgim.init.agent
Interface GimAgentInitialiseService<AgentT extends GimMilieuAgent<?>>


public interface GimAgentInitialiseService<AgentT extends GimMilieuAgent<?>>

Interface for user models to provide an opportunity to initialise the agent instances.


Method Summary
 AgentT initAgent(int milieu)
          Called to initialise a new agent instance.
 AgentT initAgent(String id, int milieu)
          Assigns the given id as the new agent's id.
 

Method Detail

initAgent

AgentT initAgent(int milieu)
Called to initialise a new agent instance.

Parameters:
milieu - (starting with 1!)
Returns:
the newly instantiated agent

initAgent

AgentT initAgent(String id,
                 int milieu)
Assigns the given id as the new agent's id.

Parameters:
id -
milieu -
Returns:
the new agent