Class AbstractSimulationModel
java.lang.Object
de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimulationModel
- All Implemented Interfaces:
ISimulationModel
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAbstractSimulationModel
(ISimulationConfig config, ISimEngineFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionReturns the configuration of the simulation run.Creation of new elements, e.g.Offers means to control the simulation run, e.g.void
setSimulationControl
(ISimulationControl control) void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.uka.ipd.sdq.simulation.abstractsimengine.ISimulationModel
finalise, init
-
Field Details
-
config
-
factory
-
-
Constructor Details
-
AbstractSimulationModel
-
-
Method Details
-
getSimulationControl
Description copied from interface:ISimulationModel
Offers means to control the simulation run, e.g. to start and stop the simulation.- Specified by:
getSimulationControl
in interfaceISimulationModel
- Returns:
- Controller for the event-based simulation.
-
setSimulationControl
- Specified by:
setSimulationControl
in interfaceISimulationModel
-
setSimulationEngineFactory
- Specified by:
setSimulationEngineFactory
in interfaceISimulationModel
-
getSimEngineFactory
Description copied from interface:ISimulationModel
Creation of new elements, e.g. events and processes, in the simulation.- Specified by:
getSimEngineFactory
in interfaceISimulationModel
- Returns:
- Factory to create element in the event-based simulation.
-
getConfiguration
Description copied from interface:ISimulationModel
Returns the configuration of the simulation run. Each running simulation model has a configuration.- Specified by:
getConfiguration
in interfaceISimulationModel
-