#include <SSingle.h>
Inherits SFlowShop, SIdentical, and SOpenShop.
Inheritance diagram for SSingle:
Public Methods | |
virtual leda_list< int > | getMachinesFor (const SShopJob &job, int op) const |
virtual SEnvironmentMod & | getModifier () |
virtual double | getRemProcTimeOn (SJob &j, const SMachines &m) const |
virtual int | getNumOfMachines () const |
virtual leda_list< int > | getAvailOperations (const SShopJob &j) const |
virtual double | getPartialProcTime (const SShopJob &j, int op, const SMachines &m) const |
virtual int | getNumOperations (const SShopJob &j) const |
virtual int | getNextOperation (const SShopJob &j) const |
virtual const leda_array< int > & | getWorkPlan (const SJob &job) const |
virtual leda_string | getClassifier () const=0 |
virtual bool | isInstanceOf (const leda_string &classifier) const=0 |
virtual void | assureInstanceOf (const leda_string &classifier) const=0 |
virtual const leda_matrix & | getSpeedsMatrix () const |
virtual double | getSpeed (int machine, const SJob &job) const |
virtual double | getSpeed (int machine) const |
virtual const leda_vector & | getSpeedsVector () |
Protected Attributes | |
leda_array< leda_array< double > * > | _partTimes |
int | _numMach |
|
The same as isInstanceOf(), only that the program is stopped with an error in case of failure
|
|
Get the list of all operations of a job that may currently be executed. Here: all non-finished operations are returned.
Reimplemented from SOpenShop. |
|
Get the classifier of the object, using the classification scheme. E.g. "P" for Identical Processors
|
|
This method has to be redefined! Reimplemented from SFlowShop. |
|
Get access to the modifier Reimplemented from SFlowShop. |
|
Return the operation to be executed next Reimplemented from SOpenShop. |
|
Get the number of machines in this environment
Reimplemented from SIdentical. |
|
Return the number of operations of which the job consists Reimplemented from SOpenShop. |
|
Get the partial processing time of a specific operation of a job.
Reimplemented from SOpenShop. |
|
Get the remaining processing time of the currently processed operation of a job
Reimplemented from SOpenShop. |
|
Get the speed of a specific machine. (Of course you will get speed 1.)
Reimplemented from SUniform. Reimplemented in SBroadcast. |
|
Get the speed of how fast a machine will process a job
Reimplemented from SUniform. Reimplemented in SBroadcast. |
|
Get the matrix containing the speed for a machine/job-pair. The rows correspond to machines, the columns to jobs. (Of course all speeds are equal to 1.)
Reimplemented from SUniform. Reimplemented in SBroadcast. |
|
Get the vector with the speed-factor of the different machine. Respond to the question: How fast is a certain machine compared to the slowest machine ? (Of course here you will get all equal to 1.)
Reimplemented from SUniform. Reimplemented in SBroadcast. |
|
Get the whole workplan for a job. An array of machine positions will be returned: the i-th entry corresponds to the machine, where the i-th operations must be executed.
|
|
Checks whether the object is an instance of the specified or a specialized class
|
|
number of machines in the corresponding task system. |
|
The partial processing times of the operations. The sum of the entries must be equal to one ! The outer array is indexed by the job index. The inner array is indexed by the operation |