de.cesr.sesamgim.init.milieu
Class GMilieuInitialiser<AgentType extends GimMilieuAgent<?>>

java.lang.Object
  extended by de.cesr.sesamgim.init.milieu.GMilieuInitialiser<AgentType>
All Implemented Interfaces:
GimMilieuInitialiser<AgentType>

public class GMilieuInitialiser<AgentType extends GimMilieuAgent<?>>
extends Object
implements GimMilieuInitialiser<AgentType>

SesamGIM - Geographical Initialisation for Milieu Agents


Field Summary
protected  GimMilieuInitialiseService<AgentType> milieuIS
          the milieu initialization service
 
Constructor Summary
GMilieuInitialiser()
          Constructor - initializes the milieu initializer with the given milieu initialization service
 
Method Summary
 int getNumMilieus()
           
 void initMilieuContexts(GimMilieuContextAwareContext<AgentType> mcac)
          Initialize the milieu contexts
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

milieuIS

protected GimMilieuInitialiseService<AgentType extends GimMilieuAgent<?>> milieuIS
the milieu initialization service

Constructor Detail

GMilieuInitialiser

public GMilieuInitialiser()
Constructor - initializes the milieu initializer with the given milieu initialization service

Parameters:
milieuIS - the milieu initialization service
Method Detail

initMilieuContexts

public void initMilieuContexts(GimMilieuContextAwareContext<AgentType> mcac)
Initialize the milieu contexts

Specified by:
initMilieuContexts in interface GimMilieuInitialiser<AgentType extends GimMilieuAgent<?>>
Parameters:
mcac - market cell context
See Also:
de.cesr.sesamgim.init.milieu.GimMilieuInitialiser#initMilieuContexts(de.cesr.sesamgim.context.GimMarketCellContext)

getNumMilieus

public int getNumMilieus()
Returns:
number od milieus