Inheritance |
|
A container object for constructing dependency pairs in a mapping callback.
Methods ¶
addDependency(child, parent)
Used when this object is passed to a mapping callback on a node. Makes the child
pdg.WorkItem object depend on the parent
work item object.
Tip
The order of the arguments only matters when you're creating a dependency between two work items in the same node. Otherwise, the code will notice if you try to make an upstream item dependent on a downstream item, and flip the order for you.