#include <SJobShop.h>
Inherits SGeneralShop.
Inherited by SFlowShop [virtual]
.
Inheritance diagram for SJobShop:
Public Methods | |
SJobShop () | |
virtual | ~SJobShop () |
virtual double | getRemProcTimeOn (SJob &job, const SMachines &machines) const |
virtual int | getNumOfMachines () const |
virtual SEnvironmentMod & | getModifier () |
virtual leda_list< int > | getAvailOperations (const SShopJob &job) const |
virtual double | getPartialProcTime (const SShopJob &job, int op, const SMachines &mach) const |
virtual int | getNumOperations (const SShopJob &job) const |
virtual leda_list< int > | getMachinesFor (const SShopJob &job, int op) const |
virtual int | getNextOperation (const SShopJob &job) 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 |
Protected Attributes | |
leda_array< leda_array< double > * > | _partTimes |
int | _numMach |
Friends | |
class | SJobShopMod |
|
Constructor |
|
Destructor |
|
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.
Implements SGeneralShop. Reimplemented in SSingle. |
|
Get the classifier of the object, using the classification scheme. E.g. "P" for Identical Processors
|
|
Get a list of machine positions, where the specified operation may be executed, i.e. the workplan entry for operation 'op'.
Implements SGeneralShop. |
|
Get access to the modifier Implements SGeneralShop. |
|
Return the operation to be executed next Implements SGeneralShop. Reimplemented in SSingle. |
|
Return the number of machines Implements SEnvironment. Reimplemented in SSingle. |
|
Return the number of operations of which the job consists Implements SGeneralShop. Reimplemented in SSingle. |
|
Get the partial processing time of a specific operation of a job.
Implements SGeneralShop. Reimplemented in SSingle. |
|
Get the remaining processing time of the currently processed operation of a job
Implements SEnvironment. Reimplemented in SSingle. |
|
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 |