de.cesr.sesamgim.popdyn
Class GPopulationUpdater<AgentType extends GimPopUpdatableAgent<AgentType>>
java.lang.Object
  
de.cesr.sesamgim.popdyn.GPopulationUpdater<AgentType>
public class GPopulationUpdater<AgentType extends GimPopUpdatableAgent<AgentType>>
- extends Object
 
SesamGIM - Geographical Initialisation for Milieu Agents
 
 This class is part of the dynamic population and conducts the update process
 
| 
Constructor Summary | 
GPopulationUpdater()
 
          Constructor - initializes the uniform and gets the classes for the calculator and the agent | 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
agentInitialiser
protected GimAgentPlacingInitialiser<AgentType extends GimPopUpdatableAgent<AgentType>> agentInitialiser
agentBirthDieObservers
protected Set<GimAgentBirthDieObserver<AgentType extends GimPopUpdatableAgent<AgentType>>> agentBirthDieObservers
GPopulationUpdater
public GPopulationUpdater()
- Constructor - initializes the uniform and gets the classes for the calculator and the agent
 
update
public void update(Calendar cal)
- updates the population and deletes and initialize agents as calculated by
 the calculator
- Parameters:
 cal - calendar at which the update should be done
 
 
subscribeAgentBirthDieObserver
public void subscribeAgentBirthDieObserver(GimAgentBirthDieObserver<AgentType> observer)
- Parameters:
 observer - 
 
unsubscribeAgentBirthDieObserver
public void unsubscribeAgentBirthDieObserver(GimAgentBirthDieObserver<AgentType> observer)
- Parameters:
 observer -