|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.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 working| Method Detail |
|---|
public void init(Calendar cal)
GimAgentVariationCalculator
init in interface GimAgentVariationCalculatorde.cesr.sesamgim.popdyn.GimAgentVariationCalculator#init()public int getNumAgentToDelete(GimMilieuContext<?> milieu)
GimAgentVariationCalculator
getNumAgentToDelete in interface GimAgentVariationCalculatormilieu - the milieu in which agents should be deleted
GimAgentVariationCalculator.getNumAgentToDelete(de.cesr.sesamgim.context.GimMilieuContext)public int getNumAgentsToInit(GimMilieuContext<?> milieu)
GimAgentVariationCalculator
getNumAgentsToInit in interface GimAgentVariationCalculatorGimAgentVariationCalculator.getNumAgentsToInit(de.cesr.sesamgim.context.GimMilieuContext)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||