#include <SPrecRelationMod.h>
Inherits SModifier.
Inherited by SPrecDAGMod.
Inheritance diagram for SPrecRelationMod:
Public Methods | |
virtual void | jobsAdded (const leda_list< SJob * > &newJobs)=0 |
virtual void | jobsDeleted (const leda_list< SJob * > &jobs)=0 |
virtual void | synchronize ()=0 |
virtual leda_edge | addDependency (SJob &source, SJob &target, bool doCycleCheck=false)=0 |
virtual bool | delDependency (SJob &source, SJob &target)=0 |
virtual bool | load (std::istream &in)=0 |
virtual void | save (std::ostream &out) const=0 |
virtual void | sample () |
Protected Methods | |
SFlexLexer & | getLexer (std::istream &in) |
|
Add relation. "job source must be finished, before job target can be scheduled"
Implemented in SPrecDAGMod. |
|
Delete relation.
Implemented in SPrecDAGMod. |
|
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
Implemented in SPrecDAGMod. |
|
Information that jobs have been deleted from the task system
Implemented in SPrecDAGMod. |
|
Load from stream
Implemented in SBroadcastMod, SFlowShopMod, SIdenticalMod, SJobShopMod, SOpenShopMod, SUniformMod, SUnrelatedMod, SAtomarJobMod, SBroadcastRequMod, SJobMod, SMalleableJobMod, SParallelJobMod, SShopJobMod, SMachinesMod, SPassiveMachinesMod, SPrecBrokerMod, SPrecDAGMod, STaskSystemMod, SVisPrecDAGMod, SDimArrayMod, SHypercubeMod, SLineTopologyMod, SMeshNMod, SMeshTopologyMod, SSetTopologyMod, and SSingleTopologyMod. |
|
|
|
Synchronizing precedence relation with jobs of tasksystem after deletion of jobs Implemented in SPrecDAGMod. |