Click or drag to resize

IPatternGraph Interface

A pattern graph.

Namespace:  de.unika.ipd.grGen.libGr
Assembly:  libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntax
C#
public interface IPatternGraph : INamed

The IPatternGraph type exposes the following members.

Properties
  NameDescription
Public propertyAlternatives
An array of alternatives, each alternative contains in its cases the subpatterns to choose out of.
Public propertyEdges
An array of all pattern edges.
Public propertyEmbeddedGraphs
An array with subpattern embeddings, i.e. subpatterns and the way they are connected to the pattern
Public propertyEmbeddingGraph
The pattern graph which contains this pattern graph, null if this is a top-level-graph
Public propertyHomomorphicEdges
A two-dimensional array describing which pattern edge may be matched non-isomorphic to which pattern edge.
Public propertyHomomorphicEdgesGlobal
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).
Public propertyHomomorphicNodes
A two-dimensional array describing which pattern node may be matched non-isomorphic to which pattern node.
Public propertyHomomorphicNodesGlobal
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).
Public propertyIndependentPatternGraphs
An array of independent pattern graphs which must get matched in addition to the main pattern (PACs - Positive Application Conditions).
Public propertyIterateds
An array of iterateds, each iterated is matched as often as possible within the specified bounds.
Public propertyName
The name of the pattern graph
Public propertyNegativePatternGraphs
An array of negative pattern graphs which make the search fail if they get matched (NACs - Negative Application Conditions).
Public propertyNodes
An array of all pattern nodes.
Public propertyPackage
null if this is a global pattern graph, otherwise the package the pattern graph is contained in.
Public propertyPackagePrefixedName
The name of the pattern graph in case of a global type, the name of the pattern graph is prefixed by the name of the package otherwise (package "::" name).
Public propertyPatternElements
An enumerable over all pattern elements.
Public propertyTotallyHomomorphicEdges
An array telling which pattern edge is to be matched non-isomorphic(/independent) against any other edge.
Public propertyTotallyHomomorphicNodes
An array telling which pattern node is to be matched non-isomorphic(/independent) against any other node.
Public propertyVariables
An array of all pattern variables;
Top
Methods
  NameDescription
Public methodGetPatternElement
Returns the pattern element with the given name if it is available, otherwise null.
Public methodGetSource
Returns the source pattern node of the given edge, null if edge dangles to the left
Public methodGetTarget
Returns the target pattern node of the given edge, null if edge dangles to the right
Top
See Also