Package repast.simphony.scenario
Interface ModelInitializer
-
- All Known Implementing Classes:
ReLogoInitializer
,WSInitializer
public interface ModelInitializer
Interface for classes that want to perform some custom initialization of the runtime context.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
initialize(Scenario scen, RunEnvironmentBuilder builder)
Initializes the model context using the specified Scenario and RunEnviromentBuilder.
-
-
-
Method Detail
-
initialize
void initialize(Scenario scen, RunEnvironmentBuilder builder)
Initializes the model context using the specified Scenario and RunEnviromentBuilder. The builder can be used to specify a non-default schedule factory and thus a different type of schedule. The Scenario can be used to add custom controller actions that will get executed when the simulation is setup etc.- Parameters:
scen
- the current scenariobuilder
- the builder used to create parts of the runtime enviroment
-
-