 | PatternGraphEmbedding(String, LGSPMatchingPattern, Expression, String, PatternElement, PatternVariable, String, String, String, PatternNode, PatternEdge, PatternVariable) Constructor |
Constructs a PatternGraphEmbedding object.
Namespace: de.unika.ipd.grGen.lgspAssembly: lgspBackend (in lgspBackend.dll) Version: GrGen.NET 7.1
Syntaxpublic 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 String
- The name of the usage of the subpattern.
- matchingPatternOfEmbeddedGraph LGSPMatchingPattern
- The embedded subpattern.
- connections Expression
- An array with the expressions defining how the subpattern is connected
to the containing pattern (graph elements and basic variables) .
- yields String
- An array with the names of the def elements and variables
from the containing pattern yielded to from the subpattern.
- yieldElements PatternElement
- An array with the def elements
from the containing pattern yielded to from the subpattern.
- yieldVariables PatternVariable
- An array with the variables
from the containing pattern yielded to from the subpattern.
- neededNodeNames String
- An array with names of nodes needed by this embedding.
- neededEdgeNames String
- An array with names of edges needed by this embedding.
- neededVariableNames String
- An array with names of variables needed by this embedding.
- neededNodes PatternNode
- An array of nodes needed by this embedding.
- neededEdges PatternEdge
- An array of edges needed by this embedding.
- neededVariables PatternVariable
- An array of variables needed by this embedding.
See Also