#include <STaskSystem.h>
Inherits SObserver, and SObservable.
Inheritance diagram for STaskSystem:
|
Constructor |
|
Destructor. The task system owns its component and destroys them as well. |
|
Here another component can register himself as observer of this component
|
|
Here another component can delete himself from the list of observers of this component
|
|
Advance simulation time until the next event happens, change the state of the system and call the inner loop of the algorithm |
|
Get scheduling algorithm. |
|
Get access to all jobs
|
|
Get read-only access to all jobs
|
|
Get available jobs (jobs that can be scheduled according to the precedence relation |
|
Get the classification according to the classification scheme. |
|
Get all jobs that are in state FINISHED |
|
Get all jobs that are in state HIDDEN |
|
Get read-only access to a job with a certain index Precondition: 0 < idx < numJobs()
|
|
Get access to a job with a certain index. Precondition: 0 < idx < numJobs()
|
|
Get access to the machines |
|
Get read-only access to the machines |
|
Get access to the tasksystem modifier |
|
Get access to the passive machines |
|
Get read-only access to the passive machines |
|
Get access to the precedence relation |
|
Get access to the master-precedence-relation |
|
Get read-only access to the master-precedence-relation |
|
returns if jobs' processing times are random(1) or known in advance(0) |
|
Get ready jobs (jobs that are released and available) |
|
Get all jobs that are in state REJECTED |
|
Get all jobs that are in state RELEASED |
|
returns the distribution of the jobs' release times |
|
Get all jobs that are in state RUNNING |
|
Return current simulation time. If simulation is being advanced, e.g. during a call to simulateUntil() then getTime() still returns the simulation time of the last simulation step) |
|
Inform all observers of this component about an event. The Observers will receive this event by their SObserver::update()-method.
|
|
Return the number of jobs |
|
Reset all jobs, machines and startup the algorithm. |
|
Reset and run the algorithm completely |
|
Set scheduling algorithm. |
|
|
|
sets distribution for release times of the jobs |
|
Here the tasksystem receives events of observed components
Implements SObserver. |
|
|