|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcn.plinguaplugin.simulator.StrategySimulator
org.gcn.plinguaplugin.simulator.StepsAndTimeOutStrategySimulator
class StepsAndTimeOutStrategySimulator
This class runs the simulator thread limiting both the number of steps and the time out
Constructor Summary | |
---|---|
StepsAndTimeOutStrategySimulator(int steps,
long timeOut,
SimulatorDisplayer simulatorDisplayer)
Creates a new StepsAndTimeOutStrategySimulator instance which runs the SimulatorDisplayer instance simulator limiting both the number of steps and the time out |
Method Summary | |
---|---|
void |
run()
Executes a simulation according to the specific parameters from the SimulatorDisplayer instance |
Methods inherited from class org.gcn.plinguaplugin.simulator.StrategySimulator |
---|
getSimulator |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StepsAndTimeOutStrategySimulator(int steps, long timeOut, SimulatorDisplayer simulatorDisplayer)
StepsAndTimeOutStrategySimulator
instance which runs the SimulatorDisplayer
instance simulator limiting both the number of steps and the time out
steps
- the maximum number of steps the simulation will taketimeOut
- the time out for the simulationsimulatorDisplayer
- the SimulatorDisplayer
instance which the newly created instance belongs toMethod Detail |
---|
public void run() throws org.gcn.plinguacore.util.PlinguaCoreException
StrategySimulator
SimulatorDisplayer
instance
run
in class StrategySimulator
org.gcn.plinguacore.util.PlinguaCoreException
- if the simulation execution couldn't be performedStrategySimulator.run()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |