#include <SEnvironment.h>
Inherits STypeInfo.
Inherited by SGeneralShop [virtual], and SUnrelated [virtual].
Inheritance diagram for SEnvironment:

Public Methods | |
| SEnvironment () | |
| virtual | ~SEnvironment () |
| 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 classifier of the object, using the classification scheme. E.g. "P" for Identical Processors
|
|
|
Get access to the modifier Implemented in SBroadcast, SFlowShop, SGeneralShop, SIdentical, SJobShop, SOpenShop, SSingle, SUniform, and SUnrelated. |
|
|
Get the number of machines in this environment
Implemented in SBroadcast, SIdentical, SJobShop, SOpenShop, SSingle, SUniform, and SUnrelated. |
|
||||||||||||
|
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
|
1.2.18