|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnl.tudelft.simulation.event.EventProducer
nl.tudelft.simulation.dsol.experiment.RunControl
The RunControl specifies all parameters for the simulator.
(c) copyright 2003 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: General Public
License (GPL) , no warranty
| Field Summary | |
static nl.tudelft.simulation.event.EventType |
END_OF_RUN_EVENT
END_OF_RUN_EVENT is fired at the end of a run |
protected Treatment |
treatment
treatment reflects the treatment to which this runcontrol belongs |
| Fields inherited from class nl.tudelft.simulation.event.EventProducer |
listeners |
| Fields inherited from interface nl.tudelft.simulation.event.EventProducerInterface |
FIRST_POSITION, LAST_POSITION |
| Constructor Summary | |
RunControl(Treatment treatment)
Constructs a new RunControl object. |
|
| Method Summary | |
Replication[] |
getReplications()
returns the replications defined in this runControl |
double |
getRunLength()
returns the runLength |
Treatment |
getTreatment()
returns the treatment |
double |
getWarmupPeriod()
returns the warmupPeriod |
void |
notify(nl.tudelft.simulation.event.EventInterface event)
|
void |
reset()
resets the RunControl |
void |
setReplications(Replication[] replications)
sets the replications |
void |
setRunLength(double runLength)
sets the runLength |
void |
setWarmupPeriod(double warmupPeriod)
sets the warmupPeriod |
void |
start(SimulatorInterface simulator)
starts the runControl |
java.lang.String |
toString()
|
| Methods inherited from class nl.tudelft.simulation.event.EventProducer |
addListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, getEventTypes, removeAllListeners, removeAllListeners, removeListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final nl.tudelft.simulation.event.EventType END_OF_RUN_EVENT
protected Treatment treatment
| Constructor Detail |
public RunControl(Treatment treatment)
treatment - The parent treatment| Method Detail |
public void start(SimulatorInterface simulator)
throws java.rmi.RemoteException
simulator - is the simulator
java.rmi.RemoteException - on network failurepublic Treatment getTreatment()
public Replication[] getReplications()
public double getRunLength()
public double getWarmupPeriod()
public void notify(nl.tudelft.simulation.event.EventInterface event)
notify in interface nl.tudelft.simulation.event.EventListenerInterface#notify(nl.tudelft.simulation.event.EventInterface)public void reset()
public void setReplications(Replication[] replications)
replications - the replications of the runControlpublic void setRunLength(double runLength)
runLength - which is the runLengthpublic void setWarmupPeriod(double warmupPeriod)
warmupPeriod - reflects the warmupPeriodpublic java.lang.String toString()
Object.toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||