Class SSJModel
java.lang.Object
org.palladiosimulator.simulation.abstractsimengine.ssj.SSJModel
- All Implemented Interfaces:
ISimulationModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfinalise()Cleans up when the simulation stops.Returns the configuration of the simulation run.Creation of new elements, e.g.Offers means to control the simulation run, e.g.voidinit()Initialises the simulation.voidsetSimulationControl(ISimulationControl control) void
-
Constructor Details
-
SSJModel
-
-
Method Details
-
finalise
public void finalise()Cleans up when the simulation stops.This method is called directly after the simulation have stopped.
- Specified by:
finalisein interfaceISimulationModel
-
getConfiguration
Returns the configuration of the simulation run. Each running simulation model has a configuration.- Specified by:
getConfigurationin interfaceISimulationModel
-
getSimEngineFactory
Description copied from interface:ISimulationModelCreation of new elements, e.g. events and processes, in the simulation.- Specified by:
getSimEngineFactoryin interfaceISimulationModel- Returns:
- Factory to create element in the event-based simulation.
-
getSimulationControl
Description copied from interface:ISimulationModelOffers means to control the simulation run, e.g. to start and stop the simulation.- Specified by:
getSimulationControlin interfaceISimulationModel- Returns:
- Controller for the event-based simulation.
-
init
public void init()Initialises the simulation. Especially, the initial events are scheduled here before the simulation starts. If no events are scheduled, the simulator stops immediately after being started.This method is called directly before the simulation starts.
- Specified by:
initin interfaceISimulationModel
-
setSimulationControl
- Specified by:
setSimulationControlin interfaceISimulationModel
-
setSimulationEngineFactory
- Specified by:
setSimulationEngineFactoryin interfaceISimulationModel
-