Class SSJExperiment
java.lang.Object
de.uka.ipd.sdq.simulation.abstractsimengine.AbstractExperiment
org.palladiosimulator.simulation.abstractsimengine.ssj.SSJExperiment
- All Implemented Interfaces:
ISimulationControl
,ISimulationTimeProvider
-
Field Summary
Fields inherited from class de.uka.ipd.sdq.simulation.abstractsimengine.AbstractExperiment
model
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Returns the current simulation time.umontreal.ssj.simevents.Simulator
void
setMaxSimTime
(long simTime) Sets the simulation time at which the simulation is supposed to stop.void
void
Methods inherited from class de.uka.ipd.sdq.simulation.abstractsimengine.AbstractExperiment
addStopCondition, addTimeObserver, checkStopConditions, isRunning, notifyTimeObservers, start, stop
-
Constructor Details
-
SSJExperiment
-
-
Method Details
-
getCurrentSimulationTime
public double getCurrentSimulationTime()Description copied from interface:ISimulationTimeProvider
Returns the current simulation time. -
getSimulator
public umontreal.ssj.simevents.Simulator getSimulator() -
startSimulator
public void startSimulator()- Specified by:
startSimulator
in classAbstractExperiment
-
stopSimulator
public void stopSimulator()- Specified by:
stopSimulator
in classAbstractExperiment
-
setMaxSimTime
public void setMaxSimTime(long simTime) Description copied from interface:ISimulationControl
Sets the simulation time at which the simulation is supposed to stop.- Parameters:
simTime
- the time instant at which the simulation is to stop, expressed in simulated time units
-