public interface TransportStrategy
TransporterJobs
must be implemented by the user in a class
that implements TransportStrategy to define the strategy which will be used
by the transporter control. TransportStrategy is part of the strategy design
pattern as described in [Gamm97] page 333 in which it represents the strategy
interface.TransporterJob
,
T_Control
Modifier and Type | Method and Description |
---|---|
TransporterJob[] |
getJobs(ProcessQueue Transporter,
Queue Jobs)
Implement this method in a class that implements this interface to define
the algorithm of the strategy that finds the jobs for the transporters
and is used by transporter control.
|
TransporterJob[] getJobs(ProcessQueue Transporter, Queue Jobs)
Transporter
- ProcessQueue
: The queue with the transporters
of the transporter control.Jobs
- Queue
: The queue with the jobs of the
transporter control.TransporterJob
[] : The pairs of the transporters
with the their assigned jobs.