#include <SPrecDAGMod.h>
Inherits SPrecRelationMod.
Inheritance diagram for SPrecDAGMod:
Public Methods | |
SPrecDAGMod (SPrecDAG &prec) | |
virtual void | jobsAdded (const leda_list< SJob * > &newJobs) |
virtual void | jobsDeleted (const leda_list< SJob * > &jobs) |
virtual void | synchronize () |
virtual SPrecRelation * | clone_for (STaskSystem &rTS) |
virtual leda_edge | addDependency (SJob &source, SJob &target, bool doCycleCheck=false) |
virtual bool | delDependency (SJob &source, SJob &target) |
SPrecDAG & | getDAG () |
virtual bool | load (std::istream &in) |
virtual void | save (std::ostream &out) const |
virtual void | sample () |
Protected Methods | |
SFlexLexer & | getLexer (std::istream &in) |
|
Constructor |
|
Add edge in DAG. ("job source must be finished, before job target can be scheduled").
Implements SPrecRelationMod. |
|
|
|
Delete edge in DAG.
Implements SPrecRelationMod. |
|
Return the DAG |
|
Get a reference to the global lexical-analyzer, in order to parse an input stream. There is only one lexer for all modifiers in the tasksystem to avoid wasting space. When the input stream is switched, the current line number is set to 1.
|
|
Information that new jobs have been appended to the task system
Implements SPrecRelationMod. |
|
Information that jobs have been deleted from the task system
Implements SPrecRelationMod. |
|
Load DAG from stream 'in'
Implements SModifier. |
|
Reimplemented from SModifier. |
|
Save DAG to stream 'out' Implements SModifier. |
|
Synchronizing precedence relation with jobs of tasksystem after deletion of jobs Implements SPrecRelationMod. |