Click or drag to resize

LGSPSubpatternAction Class

Abstract base class for generated subpattern matching actions each object of an inheriting class represents a subpattern matching tasks which might be stored on the open tasks stack and executed later on. In addition to user-specified subpatterns, alternatives are mapped to subpattern actions, too.
Inheritance Hierarchy
SystemObject
  de.unika.ipd.grGen.lgspLGSPSubpatternAction

Namespace:  de.unika.ipd.grGen.lgsp
Assembly:  lgspBackend (in lgspBackend.dll) Version: GrGen.NET 7.2
Syntax
C#
public abstract class LGSPSubpatternAction

The LGSPSubpatternAction type exposes the following members.

Constructors
  NameDescription
Protected methodLGSPSubpatternAction
Initializes a new instance of the LGSPSubpatternAction class
Top
Methods
  NameDescription
Public methodmyMatch
Searches for the subpattern as specified by RulePattern. Takes care of search state as given by found partial matches, isoSpace to search in and maximum number of matches to search for(zero = find all matches) (and open tasks via this).
Public methodmyMatch_parallelized
Searches for the subpattern as specified by RulePattern, with a matcher that can be called from a parallelized rule matcher. Maps to the normal matcher if the subpattern is not used from any parallelized rule.
Top
Fields
  NameDescription
Protected fieldactionEnv
The action execution environment which contains the host graph in which to search for matches
Public fieldlastMatchAtPreviousNestingLevel
Last match at the previous nesting level in the temporary match object stack representing the pattern nesting from innermost outwards. Needed for patternpath checking in negatives/independents, used as starting point of patternpath isomorphy checks.
Public fieldmatchOfNestingPattern
Entry point to the temporary match object stack representing the pattern nesting from innermost outwards. Needed for patternpath checking in negatives/independents, used as attachment point / is top of stack.
Protected fieldopenTasks
The subpattern actions which have to be executed until a full match is found The inheriting class contains the preset subpattern connection elements
Protected fieldpatternGraph
The PatternGraph object from which this matching task object has been created
Protected fieldpatternGraphs
The PatternGraph objects from which this matching task object has been created (non-null in case of an alternative, contains the pattern graphs of the alternative cases then)
Public fieldsearchPatternpath
Tells whether this subpattern has to search the pattern path when matching
Top
See Also