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

All Superinterfaces:
Collection<AgentType>, repast.simphony.context.Context<AgentType>, Iterable<AgentType>, repast.simphony.context.RepastElement
All Known Subinterfaces:
GimMarketCellContext<AgentType>, GimUpdatableContext<AgentType>, GimUpdatablePlzContext<AgentType>
All Known Implementing Classes:
GMarketCellContext, GUpdatablePlzContext

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

Declares methods to access agent number information. SesamGIM - Geographical Initialisation for Milieu Agents


Field Summary
 
Fields inherited from interface repast.simphony.context.Context
SYN_CONTEXT_PREFIX
 
Method Summary
 int getNumHouseholds(Calendar cal, int milieuGroup, int hhSize)
          Returns the number of households within this market cell (usually as defined in Microm (R) data).
 void setUpdatableContextStructure(GUpdatableContextStructure structure)
           
 
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

getNumHouseholds

int getNumHouseholds(Calendar cal,
                     int milieuGroup,
                     int hhSize)
Returns the number of households within this market cell (usually as defined in Microm (R) data).

Parameters:
cal -
milieuGroup -
hhSize -
Returns:

setUpdatableContextStructure

void setUpdatableContextStructure(GUpdatableContextStructure structure)
Parameters:
structure -