GrGen.NET v4.4 API: the libGr class library (the type exact interface gets generated)
IAction Interface
An object representing an executable rule.
Declaration Syntax
C#
public interface IAction
Members
All MembersMethodsProperties



IconMemberDescription
Apply(IActionExecutionEnvironment)
Tries to apply this rule to the given graph processing environment/its current graph once. Only applicable for parameterless rules. Shows better performance than the normal Apply called without parameters. No Matched/Finished events are triggered by this function.

Apply(IActionExecutionEnvironment, array<Object>[]()[][])
Tries to apply this rule to the given processing environment/its current graph once. No Matched/Finished events are triggered by this function.

ApplyAll(Int32, IActionExecutionEnvironment)
Tries to apply this rule to all occurrences in the current graph of the graph processing environment "at once". Only applicable for parameterless rules. Shows better performance than the normal ApplyAll called without parameters. No Matched/Finished events are triggered by this function.

ApplyAll(Int32, IActionExecutionEnvironment, array<Object>[]()[][])
Tries to apply this rule to all occurrences in the current graph of the graph processing environment "at once". No Matched/Finished events are triggered by this function.

ApplyMinMax(IActionExecutionEnvironment, Int32, Int32)
Applies this rule to The action execution environment/its current graph at most max times. Only applicable for parameterless rules. Shows better performance than the normal ApplyMinMax called without parameters. No Matched/Finished events are triggered by this function.

ApplyMinMax(IActionExecutionEnvironment, Int32, Int32, array<Object>[]()[][])
Applies this rule to the given processing environment/its current graph at most max times. No Matched/Finished events are triggered by this function.

ApplyPlus(IActionExecutionEnvironment)
Applies this rule to the given processing environment/its current graph as often as possible. Only applicable for parameterless rules. Shows better performance than the normal ApplyPlus called without parameters. No Matched/Finished events are triggered by this function.

ApplyPlus(IActionExecutionEnvironment, array<Object>[]()[][])
Applies this rule to the given processing environment/its current graph as often as possible. No Matched/Finished events are triggered by this function.

ApplyStar(IActionExecutionEnvironment)
Applies this rule to the given processing environment/its current graph as often as possible. Only applicable for parameterless rules. Shows better performance than the normal ApplyStar called without parameters. No Matched/Finished events are triggered by this function.

ApplyStar(IActionExecutionEnvironment, array<Object>[]()[][])
Applies this rule to the given processing environment/its current graph as often as possible. No Matched/Finished events are triggered by this function.

Filter(IActionExecutionEnvironment, IMatches, FilterCall)
Filters the matches found by this action

Match(IActionExecutionEnvironment, Int32, array<Object>[]()[][])
Searches for a graph pattern as specified by RulePattern in the current graph of the graph processing environment.

Modify(IActionExecutionEnvironment, IMatch)
Performs the rule specific modifications to the current graph of the graph processing environment with the given match. The graph and match object must have the correct type for the used backend (and this action).

ModifyAll(IActionExecutionEnvironment, IMatches)
Performs the rule specific modifications to the current graph of the graph processing environment with all of the given matches. The graph and match object must have the correct type for the used backend. No OnRewritingNextMatch events are triggered by this function.

Name
The name of the action

Package
null if this is a global type, otherwise the package the type is contained in.

PackagePrefixedName
The name of the type in case of a global type, the name of the type prefixed by the name of the package otherwise.

Reserve(Int32)
Returns a list of arrays with the given number of list elements; the array size is as needed for storing the return values. The list/its members are only valid until the next allocate or graph rewrite with this rule.

RulePattern
The RulePattern object from which this IAction object has been created.

Assembly: libGr (Module: libGr) Version: 4.4.0.0 (4.4.0.0)