de.cesr.sesamgim.init.agent
Class GPlzWiseAreaAgentInitialiser<AgentType extends GimMilieuAgent<AgentType>>
java.lang.Object
de.cesr.sesamgim.init.agent.GAreaAgentInitialiser<AgentType>
de.cesr.sesamgim.init.agent.GPlzAreaAgentInitialiser<AgentType>
de.cesr.sesamgim.init.agent.GPlzWiseAreaAgentInitialiser<AgentType>
- All Implemented Interfaces:
- GimAgentInitialiser<AgentType>, GimAgentPlacingInitialiser<AgentType>
public class GPlzWiseAreaAgentInitialiser<AgentType extends GimMilieuAgent<AgentType>>
- extends GPlzAreaAgentInitialiser<AgentType>
SesamGIM - Geographical Initialisation for Milieu Agents
Methods inherited from class de.cesr.sesamgim.init.agent.GAreaAgentInitialiser |
adaptMilieuSums, calculateAgentSums, findPlaceExtending, getGroupIS, initAgentsPerUpdatableContext, initialiseGroups, logGroupContexts, logGroupContextsAsTotal, placeAgentNearMarketCell, placeGroupContext, placeGroupContextOnRadius, setGroupIS |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GPlzWiseAreaAgentInitialiser
public GPlzWiseAreaAgentInitialiser()
processAgentNumberUnits
protected void processAgentNumberUnits(Collection<AgentType> agents,
GimAreaContext<AgentType> area)
- Calculate number of agents per PLZ area for each milieu and intialise
agents accordingly.
- Overrides:
processAgentNumberUnits
in class GAreaAgentInitialiser<AgentType extends GimMilieuAgent<AgentType>>
- Parameters:
agents
- area
-
calculatePlzSums
protected void calculatePlzSums(GimUpdatableContext<AgentType> plz)
- Parameters:
plz
-
placeAgent
public void placeAgent(GimAreaContext<AgentType> area,
GimUpdatableContext<AgentType> uc,
AgentType agent)
- Specified by:
placeAgent
in interface GimAgentPlacingInitialiser<AgentType extends GimMilieuAgent<AgentType>>
- Overrides:
placeAgent
in class GAreaAgentInitialiser<AgentType extends GimMilieuAgent<AgentType>>
- Parameters:
area
- mc
- agent
-