#include <SGeneralShop.h>
Inherits SEnvironment.
Inherited by SJobShop [virtual]
, and SOpenShop [virtual]
.
Inheritance diagram for SGeneralShop:
Public Methods | |
virtual leda_list< int > | getAvailOperations (const SShopJob &job) const=0 |
virtual double | getPartialProcTime (const SShopJob &job, int op, const SMachines &mach) const=0 |
virtual int | getNumOperations (const SShopJob &job) const=0 |
virtual leda_list< int > | getMachinesFor (const SShopJob &job, int op) const=0 |
virtual int | getNextOperation (const SShopJob &job) const=0 |
virtual SEnvironmentMod & | getModifier ()=0 |
virtual double | getRemProcTimeOn (SJob &job, const SMachines &machines) const=0 |
virtual int | getNumOfMachines () const=0 |
virtual leda_string | getClassifier () const=0 |
virtual bool | isInstanceOf (const leda_string &classifier) const=0 |
virtual void | assureInstanceOf (const leda_string &classifier) const=0 |
|
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 (depending on the precedence relation)
|
|
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.
|
|
Get access to the modifier Implements SEnvironment. |
|
Return the operation to be executed next |
|
Get the number of machines in this environment
Implemented in SBroadcast, SIdentical, SJobShop, SOpenShop, SSingle, SUniform, and SUnrelated. |
|
Return the number of operations of which the job consists |
|
Get the partial processing time of a specific operation of a job (depending on the current embedding ... this is ignored up to now because the processing times in our shop models are independent from the machine where the job is running)
|
|
Return the remaining execution time of the current phase of a job if it runs without preemption assuming that everything stays as it is (embedding etc)
Implemented in SJobShop, SOpenShop, SSingle, and SUnrelated. |
|
Checks whether the object is an instance of the specified or a specialized class
|