|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.cesr.sesamgim.init.GDefaultModelInitialiser<AgentT>
public class GDefaultModelInitialiser<AgentT extends GimMilieuAgent<AgentT>>
Provides methods to initialise the simulation model.
Uses the the initialisers defined in GInitialisersPa
.
Performs the initialisation only in case the parameter is not null.
Considered parameters:
Constructor Summary | |
---|---|
GDefaultModelInitialiser()
|
Method Summary | |
---|---|
ArrayList<GimGroupContext<AgentT>> |
getGroupContexts()
Provides a list of all group contexts) |
Collection<AgentT> |
initAgents()
Inits agents and also groups context whose number depends on the number of agents. |
void |
initAll()
Initialises the entire simulation model (entire context hierarchy and agents). |
void |
initAreas()
Initialises area contexts. |
void |
initMarketCells()
Init market cell contexts. |
void |
setGroupContexts(ArrayList<GimGroupContext<AgentT>> gcontexts)
Sets a list of all group contexts) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GDefaultModelInitialiser()
Method Detail |
---|
public void initAll()
GimModelInitialiser
initAll
in interface GimModelInitialiser<AgentT extends GimMilieuAgent<AgentT>>
GimModelInitialiser.initAll()
public void initAreas()
GimModelInitialiser
initAreas
in interface GimModelInitialiser<AgentT extends GimMilieuAgent<AgentT>>
GimModelInitialiser.initAreas()
public void initMarketCells()
GimModelInitialiser
initMarketCells
in interface GimModelInitialiser<AgentT extends GimMilieuAgent<AgentT>>
GimModelInitialiser.initMarketCells()
public Collection<AgentT> initAgents()
GimModelInitialiser
initAgents
in interface GimModelInitialiser<AgentT extends GimMilieuAgent<AgentT>>
GimModelInitialiser.initAgents()
public void setGroupContexts(ArrayList<GimGroupContext<AgentT>> gcontexts)
GimModelInitialiser
setGroupContexts
in interface GimModelInitialiser<AgentT extends GimMilieuAgent<AgentT>>
GimModelInitialiser.setGroupContexts(java.util.ArrayList)
public ArrayList<GimGroupContext<AgentT>> getGroupContexts()
GimModelInitialiser
getGroupContexts
in interface GimModelInitialiser<AgentT extends GimMilieuAgent<AgentT>>
GimModelInitialiser.getGroupContexts()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |