de.cesr.sesamgim.context
Interface GimGroupContext<AgentType extends GimMilieuAgent<?>>

All Superinterfaces:
Collection<AgentType>, repast.simphony.context.Context<AgentType>, Iterable<AgentType>, repast.simphony.context.RepastElement
All Known Implementing Classes:
GGroupContext

public interface GimGroupContext<AgentType extends GimMilieuAgent<?>>
extends repast.simphony.context.Context<AgentType>

SesamGIM - Geographical Initialisation for Milieu Agents


Field Summary
 
Fields inherited from interface repast.simphony.context.Context
SYN_CONTEXT_PREFIX
 
Method Summary
 com.vividsolutions.jts.geom.Point getGeoCentre()
          Returns the geographical centre.
 int getGroupId()
          Return the SesamGim group context id of this context.
 GimUpdatableContext<AgentType> getMc()
           
 String getMcId()
          Returns the ID of the parental context (market cell context).
 void setGeoCentre(com.vividsolutions.jts.geom.Point geoCentre)
          Sets the geographical centre.
 
Methods inherited from interface repast.simphony.context.Context
addContextListener, addProjection, addSubContext, addValueLayer, findContext, findParent, getAgentLayer, getAgentTypes, getContextListeners, getObjects, getProjection, getProjection, getProjections, getProjections, getRandomObject, getRandomObjects, getSubContext, getSubContexts, getTypeID, getValueLayer, getValueLayers, hasSubContext, query, removeContextListener, removeProjection, removeSubContext, removeValueLayer, setTypeID
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from interface repast.simphony.context.RepastElement
getId, setId
 

Method Detail

getMcId

String getMcId()
Returns the ID of the parental context (market cell context).

Returns:
market cell id

getGroupId

int getGroupId()
Return the SesamGim group context id of this context.


getMc

GimUpdatableContext<AgentType> getMc()
Returns:
the parental market cell context

getGeoCentre

com.vividsolutions.jts.geom.Point getGeoCentre()
Returns the geographical centre. E.g. Households are located round this point.

Returns:
the geographical centre

setGeoCentre

void setGeoCentre(com.vividsolutions.jts.geom.Point geoCentre)
Sets the geographical centre. Households are located round this point.

Parameters:
geoCentre - the geographical centre