|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.cesr.sesamgim.popdyn.GAgentVariationCalculator
public class GAgentVariationCalculator
SesamGIM - Geographical Initialisation for Milieu Agents This class is part of the dynamic population and calculates the number of agents to be deleted or initialized.
Constructor Summary | |
---|---|
GAgentVariationCalculator()
Constructor |
|
GAgentVariationCalculator(GimUpdatableContext<?> mc)
Constructor |
Method Summary | |
---|---|
int |
getNumAgentsToInit(GimMilieuContext<?> milieu)
gives the number of agents that should be initialized in the given milieu |
int |
getNumAgentToDelete(GimMilieuContext<?> milieu)
gives the number of agents that should be deleted in the given milieu |
void |
init(Calendar cal)
calculates and saves all agents to deleted or initialized |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GAgentVariationCalculator()
public GAgentVariationCalculator(GimUpdatableContext<?> mc)
uc
- market cell for which the calculator is workingMethod Detail |
---|
public void init(Calendar cal)
GimAgentVariationCalculator
init
in interface GimAgentVariationCalculator
de.cesr.sesamgim.popdyn.GimAgentVariationCalculator#init()
public int getNumAgentToDelete(GimMilieuContext<?> milieu)
GimAgentVariationCalculator
getNumAgentToDelete
in interface GimAgentVariationCalculator
milieu
- the milieu in which agents should be deleted
GimAgentVariationCalculator.getNumAgentToDelete(de.cesr.sesamgim.context.GimMilieuContext)
public int getNumAgentsToInit(GimMilieuContext<?> milieu)
GimAgentVariationCalculator
getNumAgentsToInit
in interface GimAgentVariationCalculator
GimAgentVariationCalculator.getNumAgentsToInit(de.cesr.sesamgim.context.GimMilieuContext)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |