#include <SSmplShopAlg.h>
Inherits SSchedAlgorithm.
Inheritance diagram for SSmplShopAlg:

Public Methods | |
| virtual | ~SSmplShopAlg () | 
| virtual void | startup () | 
| virtual double | innerLoop (const leda_list< STSysSchedEvent > &) | 
| virtual const leda_string | getDescription () const | 
| virtual const leda_string & | getName () const | 
| virtual const SClassification & | getClassification () const | 
| virtual SLeaBibEntry & | getLeaBibEntry () const | 
| virtual bool | isFinished () const | 
| STaskSystem & | getTaskSystem () | 
| const STaskSystem & | getTaskSystem () const | 
| virtual void | setTaskSystem (STaskSystem &rTS) | 
| virtual leda_string | getCurrentActionDescription (const int level) const | 
| void | addObserver (SObserver &obs) | 
| void | deleteObserver (SObserver &obs) | 
| void | notifyObservers (const SEvent &event) | 
Static Public Methods | |
| const leda_string & | getNameFromClass () | 
Protected Methods | |
| virtual void | setCurrentActionDescription (const int level, leda_string descr) | 
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 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 
  | 
  
      
  | 
  
| 
 Returns the classification scheme of the problem, which the algorithm is able to solve. NOTE: will be abstract! 
 
 Implements SSchedAlgorithm.  | 
  
      
  | 
  
| 
 Clones a scheduling algorithm. 
 
  | 
  
      
  | 
  
| 
 Returns a textual description about this algorithm. This should contain at least the solved problem classification, complexity and a short description how the algorithm works 
 
 Implements SSchedAlgorithm.  | 
  
      
  | 
  
| 
 Returns a dictionary providing detailed information about the algorithm NOTE: will be abstract! 
 
 Implements SSchedAlgorithm.  | 
  
      
  | 
  
| 
 Returns the name of the scheduling algorithm, e.g. "Coffman-Graham" NOTE: will be abstract! 
 
 Implements SSchedAlgorithm.  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 Get a read-only reference to the tasksystem. 
 
  | 
  
      
  | 
  
| 
 Get a reference to the tasksystem. 
 
  | 
  
      
  | 
  
| 
 Allocating and deallocating of jobs on machines. The algorithm gets the events of the current simulation step, in order to react on these events ("online algorithm"). The algorithm can define a relative alarm time (relative to the current simumlation step); then the tasksystem will advance until the alarm time and call innerLoop() again. This is used for preemtion for instance. If this time is <= 0 the alarm function is deactivated. 
 
 Implements SSchedAlgorithm.  | 
  
      
  | 
  
| 
 Returns whether the algorithm is finished. The default implementation checks if all jobs are finished. 
 
 Reimplemented in SPlayer, SSmithsRatioRule, and SSmithWSEPT.  | 
  
      
  | 
  
| 
 Inform all observers of this component about an event. The Observers will receive this event by their SObserver::update()-method. 
 
  | 
  
      
  | 
  ||||||||||||
| 
 
  | 
  
      
  | 
  
| 
 This should contain initialization code which shall be run only the first time the algorithm works on a specific task system. 
  | 
  
      
  | 
  
| 
 Prints a summary to console about the environment of machines, about processing times of jobs and operations and about which operation must be processed on which machine. Reimplemented from SSchedAlgorithm.  | 
  
1.2.18