public class Run
extends desmoj.core.simulator.Model
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_RUNNERS_NUM |
SR |
SR_1 |
SR |
SR_2 |
SR |
SR_3 |
SR |
SR_4 |
Stage |
stage1 |
Stage |
stage2 |
Stage |
stage3 |
Stage |
stage4 |
Stage |
stage5 |
| Constructor and Description |
|---|
Run(desmoj.core.simulator.Model owner,
java.lang.String modelName,
boolean showInReport,
boolean showInTrace)
Run constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
description()
returns a description of the model to be used in the report.
|
void |
doInitialSchedules()
activates dynamic model components (simulation processes).
|
void |
Finish()
Collect all data.
|
void |
init()
initialises static model components like distributions and queues.
|
static void |
main(java.lang.String[] args)
Runs the model.
|
void |
QueueRunner(Runner runner)
Queue runner to next stage.
|
connectToExperiment, createReporter, getEntities, getEntity, getExperiment, getParameterManager, getReportables, hasSubModels, init, isConnected, isMainModel, isSubModel, resetgetCorrespondingSchedulable, getObservations, getReporter, incrementObservations, incrementObservations, reportIsOn, reportOff, reportOn, resetAt, setCorrespondingSchedulable, setReportercurrent, currentEntity, currentEntityAll, currentEvent, currentModel, currentSimProcess, currentTime, debugIsOn, debugOff, debugOn, epsilon, getModel, isExperimentCompatible, isModelCompatible, presentTime, sendDebugNote, sendMessage, sendTraceNote, sendWarning, skipTraceNote, skipTraceNote, traceIsOn, traceOff, traceOnpublic static int ACTIVE_RUNNERS_NUM
public Stage stage1
public Stage stage2
public Stage stage3
public Stage stage4
public Stage stage5
public SR SR_1
public SR SR_2
public SR SR_3
public SR SR_4
public Run(desmoj.core.simulator.Model owner, java.lang.String modelName, boolean showInReport, boolean showInTrace)
owner - the model this model is part of (set to null when there is no such model)modelName - this model's nameshowInReport - flag to indicate if this model shall produce output to the report fileshowInTrace - flag to indicate if this model shall produce output to the trace filepublic static void main(java.lang.String[] args)
args - is an array of command-line arguments (will be ignored here)public void QueueRunner(Runner runner)
runner - - current, which has to be queued.public java.lang.String description()
description in class desmoj.core.simulator.Modelpublic void doInitialSchedules()
doInitialSchedules in class desmoj.core.simulator.Modelpublic void init()
init in class desmoj.core.simulator.Modelpublic void Finish()