public class TargetContext extends Object implements TransformationContext
Modifier and Type | Class and Description |
---|---|
static class |
TargetContext.DuplicationContext
Context of a duplication process.
|
Constructor and Description |
---|
TargetContext()
Create a transformation context that duplicates subgraphs leading to
given target nodes.
|
Modifier and Type | Method and Description |
---|---|
void |
addContextTargets(Collection<TargetNode> targets)
Adds the given target nodes as duplication targets.
|
static void |
augmentationTrackback(TransformationTree tree)
Track back target nodes and duplicate any augmentation cells.
|
void |
duplicateContext(SourceNode originalSource,
SourceNode duplicate,
Set<Cell> ignoreCells,
TransformationLog log)
Duplicate the context sub-tree of the given context source.
|
public TargetContext()
public void addContextTargets(Collection<TargetNode> targets)
targets
- the target nodes to use as subgraph end-pointspublic void duplicateContext(SourceNode originalSource, SourceNode duplicate, Set<Cell> ignoreCells, TransformationLog log)
TransformationContext
duplicateContext
in interface TransformationContext
originalSource
- the original context sourceduplicate
- the duplicate source nodeignoreCells
- the cells to be ignored for the duplicationlog
- the transformation logTransformationContext.duplicateContext(SourceNode, SourceNode, Set,
TransformationLog)
public static void augmentationTrackback(TransformationTree tree)
tree
- the tree to work onBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a