#include <SUnrelated.h>
Inherits SEnvironment.
Inherited by SUniform [virtual]
.
Inheritance diagram for SUnrelated:
Public Methods | |
SUnrelated () | |
virtual SEnvironmentMod & | getModifier () |
virtual int | getNumOfMachines () const |
virtual const leda_matrix & | getSpeedsMatrix () const |
virtual double | getSpeed (int machine, const SJob &job) const |
virtual double | getRemProcTimeOn (SJob &job, const SMachines &machines) 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 |
Friends | |
class | SUnrelatedMod |
|
Constructor |
|
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 Implements SEnvironment. Reimplemented in SBroadcast, SIdentical, SSingle, and SUniform. |
|
Get the number of machines in this environment
Implements SEnvironment. Reimplemented in SBroadcast, SIdentical, SSingle, and SUniform. |
|
Get the time of how long a job will run on the machines in the same state. Precondition: The job must currently be scheduled on machines.
Implements SEnvironment. Reimplemented in SSingle. |
|
Get the speed of how fast a machine will process a job
Reimplemented in SBroadcast, SIdentical, and SUniform. |
|
Get the matrix containing the speed for a machine/job-pair. The rows correspond to machines, the columns to jobs.
Reimplemented in SBroadcast, SIdentical, and SUniform. |
|
Checks whether the object is an instance of the specified or a specialized class
|
|
|