public class Loading extends ProcessCoop
InternalTransporter or Crane process and the
Truck or an Internal Transporter he is loading. It is intended that this
Loading is used with the WaitQueue construct, where a
InernalTransporter or Crane>( as a master
process) is waiting for a truck or an internal transporter to load it. During
the Loading the master is active and the slaves is passive. The unloading
carried out together is described in the method cooperation,
which can be overwritten by the user to build more complex models. Until now
this method only models the time it takes to load the truck/ an internal
transporter.ProcessCoop| Constructor and Description |
|---|
Loading(Model owner,
java.lang.String name,
NumericalDist<?> loadTimeStream,
boolean showInTrace)
Constructs a Loading process where a master (
InternalTransporter) or Crane is loading
slave (Truck or InternalTransporter) in a
cooperate process. |
| Modifier and Type | Method and Description |
|---|---|
void |
setLoadTimeStream(NumericalDist<?> loadTimeStream)
Sets the loadTimeStream to a new
RealDist random number
stream. |
current, currentEntity, currentEntityAll, currentEvent, currentModel, currentSimProcess, debugIsOn, debugOff, debugOn, getModel, isExperimentCompatible, isModelCompatible, presentTime, sendDebugNote, sendMessage, sendTraceNote, sendWarning, skipTraceNote, skipTraceNote, traceIsOn, traceOff, traceOngetName, getQuotedName, toStringpublic Loading(Model owner, java.lang.String name, NumericalDist<?> loadTimeStream, boolean showInTrace)
InternalTransporter) or Crane is loading
slave (Truck or InternalTransporter) in a
cooperate process. The time it takes to load the containers (goods) is
determined by the specified loadTimeStream.owner - desmoj.Model : The model this Loading is associated to.name - java.lang.String : the name of this Loading.loadTimeStream - NumericalDist> : The random number stream determining
the time it takes to load the containers.showInTrace - boolean : Flag, if this Loading should produce a trace output
or not.public void setLoadTimeStream(NumericalDist<?> loadTimeStream)
RealDist random number
stream.loadTimeStream - NumericalDist> : The new RealDist random
number stream determining the time it takes to load the
containers (goods).