Click or drag to resize

PatternGraphEmbedding Constructor (String, LGSPMatchingPattern, Expression, String, PatternElement, PatternVariable, String, String, String, PatternNode, PatternEdge, PatternVariable)

Constructs a PatternGraphEmbedding object.

Namespace:  de.unika.ipd.grGen.lgsp
Assembly:  lgspBackend (in lgspBackend.dll) Version: GrGen.NET 7.2
Syntax
C#
public PatternGraphEmbedding(
	string name,
	LGSPMatchingPattern matchingPatternOfEmbeddedGraph,
	Expression[] connections,
	string[] yields,
	PatternElement[] yieldElements,
	PatternVariable[] yieldVariables,
	string[] neededNodeNames,
	string[] neededEdgeNames,
	string[] neededVariableNames,
	PatternNode[] neededNodes,
	PatternEdge[] neededEdges,
	PatternVariable[] neededVariables
)

Parameters

name
Type: SystemString
The name of the usage of the subpattern.
matchingPatternOfEmbeddedGraph
Type: de.unika.ipd.grGen.lgspLGSPMatchingPattern
The embedded subpattern.
connections
Type: Expression
An array with the expressions defining how the subpattern is connected to the containing pattern (graph elements and basic variables) .
yields
Type: SystemString
An array with the names of the def elements and variables from the containing pattern yielded to from the subpattern.
yieldElements
Type: de.unika.ipd.grGen.lgspPatternElement
An array with the def elements from the containing pattern yielded to from the subpattern.
yieldVariables
Type: de.unika.ipd.grGen.lgspPatternVariable
An array with the variables from the containing pattern yielded to from the subpattern.
neededNodeNames
Type: SystemString
An array with names of nodes needed by this embedding.
neededEdgeNames
Type: SystemString
An array with names of edges needed by this embedding.
neededVariableNames
Type: SystemString
An array with names of variables needed by this embedding.
neededNodes
Type: de.unika.ipd.grGen.lgspPatternNode
An array of nodes needed by this embedding.
neededEdges
Type: de.unika.ipd.grGen.lgspPatternEdge
An array of edges needed by this embedding.
neededVariables
Type: de.unika.ipd.grGen.lgspPatternVariable
An array of variables needed by this embedding.
See Also