#include <SBroadcast.h>
Inherits SIdentical.
Inheritance diagram for SBroadcast:
Public Methods | |
SBroadcast () | |
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 | SBroadcastMod |
|
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. Reimplemented from SIdentical. |
|
Get the number of machines in this environment
Reimplemented from SIdentical. |
|
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. (Of course you will get speed 1.)
Reimplemented from SIdentical. |
|
Get the speed of how fast a machine will process a job
Reimplemented from SIdentical. |
|
Get the matrix containing the speed for a machine/job-pair. The rows correspond to machines, the columns to jobs. (Of course all speeds are equal to 1.)
Reimplemented from 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 ? (Of course here you will get all equal to 1.)
Reimplemented from SIdentical. |
|
Checks whether the object is an instance of the specified or a specialized class
|
|
|