de.cesr.sesamgim.init.agent
Interface GimGroupAgent<AgentType extends GimMilieuAgent<AgentType>>

All Superinterfaces:
GimMilieuAgent<AgentType>

public interface GimGroupAgent<AgentType extends GimMilieuAgent<AgentType>>
extends GimMilieuAgent<AgentType>

SesamGIM - Geographical Initialisation for Milieu Agents Implementation Note: AgentType may not extend GimMilieuAgent since SesamGim must ensure that the context of getGroupContext is parameterized with AgentType!


Method Summary
 GimGroupContext<AgentType> getGroupContext()
          Provides the group context this agent is located within.
 void setGroupContext(GimGroupContext<AgentType> gc)
          Set the group context this agent is located within and adds the agent to the group context (!).
 
Methods inherited from interface de.cesr.sesamgim.init.agent.GimMilieuAgent
getMilieuGroup
 

Method Detail

getGroupContext

GimGroupContext<AgentType> getGroupContext()
Provides the group context this agent is located within.

Returns:
group context

setGroupContext

void setGroupContext(GimGroupContext<AgentType> gc)
Set the group context this agent is located within and adds the agent to the group context (!).

Parameters:
group - context