Click or drag to resize

LGSPEdgeCopy Method

Creates a deep copy of this edge (i.e. (transient) class objects will be replicated). All attributes will be transfered to the new edge. The edge will not be associated to a graph, yet. So it will not have any assigned variables.

Namespace:  de.unika.ipd.grGen.lgsp
Assembly:  lgspBackend (in lgspBackend.dll) Version: GrGen.NET 7.2
Syntax
C#
public abstract IEdge Copy(
	INode newSource,
	INode newTarget,
	IGraph graph,
	IDictionary<Object, Object> oldToNewObjectMap
)

Parameters

newSource
Type: de.unika.ipd.grGen.libGrINode
The new source node for the new edge.
newTarget
Type: de.unika.ipd.grGen.libGrINode
The new target node for the new edge.
graph
Type: de.unika.ipd.grGen.libGrIGraph
The graph to fetch the names of the new objects from.
oldToNewObjectMap
Type: System.Collections.GenericIDictionaryObject, Object
A dictionary mapping objects to their copies, to be supplied as empty dictionary.

Return Value

Type: IEdge
A copy of this edge.

Implements

IEdgeCopy(INode, INode, IGraph, IDictionaryObject, Object)
See Also