Click or drag to resize

PatternGraph Constructor (String, PatternNode, PatternEdge, PatternCondition, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, INode, IEdge)

Constructs a PatternGraph object (when it is to be constructed from a graph object, for graph equality checking).

Namespace:  de.unika.ipd.grGen.lgsp
Assembly:  lgspBackend (in lgspBackend.dll) Version: GrGen.NET 7.2
Syntax
C#
public PatternGraph(
	string name,
	PatternNode[] nodes,
	PatternEdge[] edges,
	PatternCondition[] conditions,
	bool[,] homomorphicNodes,
	bool[,] homomorphicEdges,
	bool[,] homomorphicNodesGlobal,
	bool[,] homomorphicEdgesGlobal,
	bool[] totallyHomomorphicNodes,
	bool[] totallyHomomorphicEdges,
	INode[] correspondingNodes,
	IEdge[] correspondingEdges
)

Parameters

name
Type: SystemString
The name of the pattern graph.
nodes
Type: de.unika.ipd.grGen.lgspPatternNode
An array of all pattern nodes.
edges
Type: de.unika.ipd.grGen.lgspPatternEdge
An array of all pattern edges.
conditions
Type: de.unika.ipd.grGen.lgspPatternCondition
The conditions used in this pattern graph.
homomorphicNodes
Type: SystemBoolean
A two-dimensional array describing which pattern node may be matched non-isomorphic to which pattern node.
homomorphicEdges
Type: SystemBoolean
A two-dimensional array describing which pattern edge may be matched non-isomorphic to which pattern edge.
homomorphicNodesGlobal
Type: SystemBoolean
A two-dimensional array describing which pattern node may be matched non-isomorphic to which pattern node globally, i.e. the nodes are contained in different, but locally nested patterns (alternative cases, iterateds).
homomorphicEdgesGlobal
Type: SystemBoolean
A two-dimensional array describing which pattern edge may be matched non-isomorphic to which pattern edge globally, i.e. the edges are contained in different, but locally nested patterns (alternative cases, iterateds).
totallyHomomorphicNodes
Type: SystemBoolean
An array telling which pattern node is to be matched non-isomorphic(/independent) against any other node.
totallyHomomorphicEdges
Type: SystemBoolean
An array telling which pattern edge is to be matched non-isomorphic(/independent) against any other edge.
correspondingNodes
Type: de.unika.ipd.grGen.libGrINode
An array of all nodes which created the pattern nodes, coupled by position.
correspondingEdges
Type: de.unika.ipd.grGen.libGrIEdge
An array of all edges which created the pattern edges, coupled by position.
See Also