public class FixedVCtoCBAssignment_Strategy extends ModelComponent implements TransportStrategy
Job
that has as origin or
destination the crane that transporter is assigned to. The
FixedVCtoCBAssignment_Strategy implements the method getJobs (ProcessQueue
Transporter, Queue Jobs) of the TransportStategy
. The
FixedVCtoCBAssignment_Strategy is derived from ModelComponent.TransportStrategy
,
TransporterJob
,
T_Control
,
IsJobForVC
,
ModelComponent
Constructor and Description |
---|
FixedVCtoCBAssignment_Strategy(Model owner)
Constructs the FixedVCtoCBAssignment_Strategy that a transporter control
uses by the assigning of the jobs to transporters the following way:
every transporter (VC) gets the
Job that has as origin or
destination the crane that transporter is assigned to. |
Modifier and Type | Method and Description |
---|---|
TransporterJob[] |
getJobs(ProcessQueue transporters,
Queue jobs)
This method describes the following way of the assigning the jobs to
transporters: every transporter (VC) gets the
Job that has
as origin or destination the crane that transporter is assigned to. |
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 FixedVCtoCBAssignment_Strategy(Model owner)
Job
that has as origin or
destination the crane that transporter is assigned to.owner
- desmoj.Model : The model this FixedVCtoCBAssignment_Strategy
is associated to.public TransporterJob[] getJobs(ProcessQueue transporters, Queue jobs)
Job
that has
as origin or destination the crane that transporter is assigned to. This
each assignment will be stored in a TranspoterJob
. All
the assignments are used by the transport control.getJobs
in interface TransportStrategy
Jobs
- Queue
: The queue with the jobs of the
transporter control.TransporterJob
[] : The pairs of the transporters
with the their assigned jobs.