|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection<T>
repast.simphony.context.AbstractContext<T>
repast.simphony.context.SmallDefaultContext<T>
repast.simphony.context.DefaultContext<AgentType>
de.cesr.sesamgim.context.GPlzContext<AgentType>
de.cesr.sesamgim.context.GUpdatablePlzContext<AgentType>
public class GUpdatablePlzContext<AgentType extends GimMilieuAgent<AgentType>>
SesamGIM - Geographical Initialisation for Milieu Agents
| Field Summary | |
|---|---|
protected Map<Integer,GimMilieuContext<AgentType>> |
milieuContextMap
|
| Fields inherited from class de.cesr.sesamgim.context.GPlzContext |
|---|
id |
| Fields inherited from class repast.simphony.context.SmallDefaultContext |
|---|
allObjs, objectMap |
| Fields inherited from class repast.simphony.context.AbstractContext |
|---|
subContexts |
| Fields inherited from interface repast.simphony.context.Context |
|---|
SYN_CONTEXT_PREFIX |
| Constructor Summary | |
|---|---|
GUpdatablePlzContext()
|
|
| Method Summary | |
|---|---|
boolean |
addAgent(AgentType agent)
Substitutes Collection.add(Object) in order to add
agents to GimMilieuContexts. |
String |
getID()
Return the context's id. |
GimMilieuContext<AgentType> |
getMilieu(int milieuId)
Returns the milieu context of this market cell with the given ID |
protected Map<Integer,GimMilieuContext<AgentType>> |
getMilieuContextMap()
|
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 class de.cesr.sesamgim.context.GPlzContext |
|---|
assignSuperContext, getDirectObjects, getPlzId, setPLZ99, toString |
| Methods inherited from class repast.simphony.context.DefaultContext |
|---|
addInternal, containsInternal, iteratorInternal, removeInternal, sizeInternal |
| Methods inherited from class repast.simphony.context.SmallDefaultContext |
|---|
getObjects, getRandomObject, getRandomObjects |
| Methods inherited from class repast.simphony.context.AbstractContext |
|---|
add, addContextListener, addProjection, addSubContext, addValueLayer, clear, contains, eventOccured, findContext, findParent, fireAddContextEvent, fireRemoveEvent, fireSubContextAdded, fireSubContextRemoved, getAgentLayer, getAgentTypes, getContextListeners, getId, getProjection, getProjection, getProjections, getProjections, getSubContext, getSubContexts, getTypeID, getValueLayer, getValueLayers, handleRemove, hasSubContext, iterator, query, remove, removeContextListener, removeProjection, removeSubContext, removeValueLayer, setId, setTypeID, size |
| Methods inherited from class java.util.AbstractCollection |
|---|
addAll, containsAll, isEmpty, removeAll, retainAll, toArray, toArray |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface de.cesr.sesamgim.context.GimPlzContext |
|---|
getDirectObjects, getPlzId |
| Methods inherited from interface de.cesr.sesamgim.context.GimSuperContextAssignable |
|---|
assignSuperContext |
| 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 |
| Field Detail |
|---|
protected Map<Integer,GimMilieuContext<AgentType extends GimMilieuAgent<AgentType>>> milieuContextMap
| Constructor Detail |
|---|
public GUpdatablePlzContext()
| Method Detail |
|---|
public int getNumHouseholds(Calendar cal,
int milieuGroup,
int hhSize)
GimAgentNumberProvidingContext
getNumHouseholds in interface GimAgentNumberProvidingContext<AgentType extends GimMilieuAgent<AgentType>>public GimMilieuContext<AgentType> getMilieu(int milieuId)
GimMilieuContextAwareContext
getMilieu in interface GimMilieuContextAwareContext<AgentType extends GimMilieuAgent<AgentType>>milieuId - milieu ID of the Milieu
GimMilieuContextAwareContext.getMilieu(int)public boolean addAgent(AgentType agent)
GimMilieuContextAwareContextCollection.add(Object) in order to add
agents to GimMilieuContexts.
addAgent in interface GimMilieuContextAwareContext<AgentType extends GimMilieuAgent<AgentType>>GimMilieuContextAwareContext.addAgent(de.cesr.sesamgim.init.agent.GimMilieuAgent)protected Map<Integer,GimMilieuContext<AgentType>> getMilieuContextMap()
public String getID()
GimMilieuContextAwareContextGimMarketCellContexts or the PLZ for GimPlzContexts.
getID in interface GimMilieuContextAwareContext<AgentType extends GimMilieuAgent<AgentType>>public void setUpdatableContextStructure(GUpdatableContextStructure structure)
setUpdatableContextStructure in interface GimAgentNumberProvidingContext<AgentType extends GimMilieuAgent<AgentType>>structure -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||