public class Unloading extends ProcessCoop
InternalTransporter
or Crane
process and the
Truck or an Internal Transporter he is unloading. It is intended that this
Unloading 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 unload it.
During the Unloading 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
unload the truck/ an internal transporter.ProcessCoop
Constructor and Description |
---|
Unloading(Model owner,
java.lang.String name,
NumericalDist<?> unloadTimeStream,
boolean showInTrace)
Constructs an Unloading process where a master (
InternalTransporter ) or Crane is unloading
slave (Truck or InternalTransporter ) in a
cooperate process. |
Modifier and Type | Method and Description |
---|---|
void |
setUnloadTimeStream(NumericalDist<?> unloadTimeStream)
Sets the unloadTimeStream 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, traceOn
getName, getQuotedName, toString
public Unloading(Model owner, java.lang.String name, NumericalDist<?> unloadTimeStream, boolean showInTrace)
InternalTransporter
) or Crane
is unloading
slave (Truck
or InternalTransporter
) in a
cooperate process. The time it takes to unload the containers (goods) is
determined by the specified unloadTimeStream.owner
- desmoj.Model : The model this Unloading is associated to.name
- java.lang.String : the name of this Unloading.unloadTimeStream
- NumericalDist> : The random number stream determining
the time it takes to unload the containers.showInTrace
- boolean : Flag, if this Unloading should produce a trace
output or not.public void setUnloadTimeStream(NumericalDist<?> unloadTimeStream)
RealDist
random number
stream.unloadTimeStream
- NumericalDist> : The new random number stream determining
the time it takes to unload the containers (goods).