|
||||||||||
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.Treatment
public class Treatment
The treatment is comprises the specification of input data, the runControl
and the specification of output data. (Sol:1982, Oeren&Zeigler:1979)
(c) copyright 2002-2005 Delft
University of Technology , the Netherlands.
See for project information
www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , no warranty.
Field Summary | |
---|---|
static short |
REPLICATION_MODE_STEADY_STATE
the TERMINATING replication mode |
static short |
REPLICATION_MODE_TERMINATING
the TERMINATING replication mode |
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 | |
---|---|
Treatment(Experiment experiment,
int number)
contructs a Treatment |
|
Treatment(Experiment experiment,
int number,
short replicationMode)
contructs a Treatment |
Method Summary | |
---|---|
Experiment |
getExperiment()
Returns the experiment |
int |
getNumber()
returns the number of this replication |
Properties |
getProperties()
returns the properties for this treatment |
short |
getReplicationMode()
Returns the replication mode of this treatment. |
RunControl |
getRunControl()
returns the RunControl |
long |
getStartTime()
returns the startTime |
TimeUnitInterface |
getTimeUnit()
returns the timeUnit |
void |
setExperiment(Experiment experiment)
sets the experiment of this treatment |
void |
setProperties(Properties properties)
sets the properties |
void |
setReplicationMode(short replicationMode)
sets the replication mode of this treatment |
void |
setRunControl(RunControl runControl)
sets the RunControl |
void |
setStartTime(long startTime)
sets the startTime of the treatment |
void |
setTimeUnit(TimeUnitInterface timeUnit)
sets the timeUnit of the treatment |
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 short REPLICATION_MODE_TERMINATING
public static final short REPLICATION_MODE_STEADY_STATE
Constructor Detail |
---|
public Treatment(Experiment experiment, int number)
experiment
- reflects the experimentnumber
- the number of this treatmentpublic Treatment(Experiment experiment, int number, short replicationMode)
experiment
- reflects the experimentnumber
- the number of this treatmentreplicationMode
- the replication mode of this treatmentMethod Detail |
---|
public int getNumber()
public Experiment getExperiment()
public Properties getProperties()
public RunControl getRunControl()
public long getStartTime()
public TimeUnitInterface getTimeUnit()
public void setProperties(Properties properties)
properties
- the propertiespublic void setRunControl(RunControl runControl)
runControl
- the control.public void setStartTime(long startTime)
startTime
- reflects the startTimepublic void setTimeUnit(TimeUnitInterface timeUnit)
timeUnit
- is the timeunitpublic String toString()
toString
in class Object
Object.toString()
public void setExperiment(Experiment experiment)
experiment
- the experimentpublic short getReplicationMode()
public void setReplicationMode(short replicationMode)
replicationMode
- the replication mode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |