#include <SUniform.h>
Inherits SUnrelated.
Inherited by SIdentical [virtual]
.
Inheritance diagram for SUniform:
Public Methods | |
SUniform () | |
virtual SEnvironmentMod & | getModifier () |
virtual int | getNumOfMachines () const |
virtual const leda_matrix & | getSpeedsMatrix () const |
virtual double | getSpeed (int machine, const SJob &job) const |
virtual const leda_vector & | getSpeedsVector () |
virtual double | getSpeed (int machine) 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 | SUniformMod |
|
|
|
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. Reimplemented from SUnrelated. Reimplemented in SBroadcast, SIdentical, and SSingle. |
|
Get the number of machines in this environment
Reimplemented from SUnrelated. Reimplemented in SBroadcast, SIdentical, and SSingle. |
|
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 a specific machine.
Reimplemented in SBroadcast, and SIdentical. |
|
Get the speed of how fast a machine will process a job
Reimplemented from SUnrelated. Reimplemented in SBroadcast, and SIdentical. |
|
Get the matrix containing the speed for a machine/job-pair. The rows correspond to machines, the columns to jobs.
Reimplemented from SUnrelated. Reimplemented in SBroadcast, and SIdentical. |
|
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 ?
Reimplemented in SBroadcast, and SIdentical. |
|
Checks whether the object is an instance of the specified or a specialized class
|
|
|