Class SSJExperiment
- java.lang.Object
-
- de.uka.ipd.sdq.simulation.abstractsimengine.AbstractExperiment
-
- org.palladiosimulator.simulation.abstractsimengine.ssj.SSJExperiment
-
- All Implemented Interfaces:
ISimulationControl
,ISimulationTimeProvider
public class SSJExperiment extends AbstractExperiment
-
-
Field Summary
-
Fields inherited from class de.uka.ipd.sdq.simulation.abstractsimengine.AbstractExperiment
model
-
-
Constructor Summary
Constructors Constructor Description SSJExperiment(SSJModel model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getCurrentSimulationTime()
Returns the current simulation time.umontreal.ssj.simevents.Simulator
getSimulator()
void
setMaxSimTime(long simTime)
Sets the simulation time at which the simulation is supposed to stop.void
startSimulator()
void
stopSimulator()
-
Methods inherited from class de.uka.ipd.sdq.simulation.abstractsimengine.AbstractExperiment
addStopCondition, addTimeObserver, checkStopConditions, isRunning, notifyTimeObservers, start, stop
-
-
-
-
Constructor Detail
-
SSJExperiment
public SSJExperiment(SSJModel model)
-
-
Method Detail
-
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
-
-