IPatternGraph Interface |
Namespace: de.unika.ipd.grGen.libGr
public interface IPatternGraph : INamed
The IPatternGraph type exposes the following members.
| Name | Description | |
|---|---|---|
| Alternatives |
An array of alternatives, each alternative contains in its cases the subpatterns to choose out of.
| |
| Edges |
An array of all pattern edges.
| |
| EmbeddedGraphs |
An array with subpattern embeddings, i.e. subpatterns and the way they are connected to the pattern
| |
| EmbeddingGraph |
The pattern graph which contains this pattern graph, null if this is a top-level-graph
| |
| HomomorphicEdges |
A two-dimensional array describing which pattern edge may be matched non-isomorphic to which pattern edge.
| |
| HomomorphicEdgesGlobal |
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).
| |
| HomomorphicNodes |
A two-dimensional array describing which pattern node may be matched non-isomorphic to which pattern node.
| |
| HomomorphicNodesGlobal |
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).
| |
| IndependentPatternGraphs |
An array of independent pattern graphs which must get matched in addition to the main pattern
(PACs - Positive Application Conditions).
| |
| Iterateds |
An array of iterateds, each iterated is matched as often as possible within the specified bounds.
| |
| Name |
The name of the pattern graph
| |
| NegativePatternGraphs |
An array of negative pattern graphs which make the search fail if they get matched
(NACs - Negative Application Conditions).
| |
| Nodes |
An array of all pattern nodes.
| |
| Package |
null if this is a global pattern graph, otherwise the package the pattern graph is contained in.
| |
| PackagePrefixedName |
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).
| |
| PatternElements |
An enumerable over all pattern elements.
| |
| TotallyHomomorphicEdges |
An array telling which pattern edge is to be matched non-isomorphic(/independent) against any other edge.
| |
| TotallyHomomorphicNodes |
An array telling which pattern node is to be matched non-isomorphic(/independent) against any other node.
| |
| Variables |
An array of all pattern variables;
|
| Name | Description | |
|---|---|---|
| GetPatternElement |
Returns the pattern element with the given name if it is available, otherwise null.
| |
| GetSource |
Returns the source pattern node of the given edge, null if edge dangles to the left
| |
| GetTarget |
Returns the target pattern node of the given edge, null if edge dangles to the right
|