Class AbstractExperiment
java.lang.Object
de.uka.ipd.sdq.simulation.abstractsimengine.AbstractExperiment
- All Implemented Interfaces:
ISimulationControl
,ISimulationTimeProvider
- Direct Known Subclasses:
DesmoJExperiment
,SSJExperiment
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addStopCondition
(SimCondition condition) void
addTimeObserver
(Observer observer) boolean
boolean
Returns whether the simulation is running.protected void
void
start()
Starts the simulation.abstract void
void
stop()
Stops the simulation.abstract 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.ISimulationControl
setMaxSimTime
Methods inherited from interface de.uka.ipd.sdq.simulation.abstractsimengine.ISimulationTimeProvider
getCurrentSimulationTime
-
Field Details
-
model
-
-
Constructor Details
-
AbstractExperiment
-
-
Method Details
-
addStopCondition
- Specified by:
addStopCondition
in interfaceISimulationControl
-
start
public void start()Description copied from interface:ISimulationControl
Starts the simulation.- Specified by:
start
in interfaceISimulationControl
-
stop
public void stop()Description copied from interface:ISimulationControl
Stops the simulation.- Specified by:
stop
in interfaceISimulationControl
-
isRunning
public boolean isRunning()Description copied from interface:ISimulationControl
Returns whether the simulation is running.- Specified by:
isRunning
in interfaceISimulationControl
-
checkStopConditions
public boolean checkStopConditions() -
addTimeObserver
- Specified by:
addTimeObserver
in interfaceISimulationControl
-
startSimulator
public abstract void startSimulator() -
stopSimulator
public abstract void stopSimulator() -
notifyTimeObservers
protected void notifyTimeObservers()
-