Click or drag to resize

IActionApplyMinMax(IActionExecutionEnvironment, Int32, Int32, Object) Method

Applies this rule to the given processing environment/its current graph at most max times. No Matched/Finished events are triggered by this function (needed for visual debugging). The null parameter check is omitted also.

Namespace: de.unika.ipd.grGen.libGr
Assembly: libGr (in libGr.dll) Version: GrGen.NET 7.1
Syntax
C#
bool ApplyMinMax(
	IActionExecutionEnvironment actionEnv,
	int min,
	int max,
	params Object[] parameters
)

Parameters

actionEnv  IActionExecutionEnvironment
The action execution environment, esp. giving access to the host graph.
min  Int32
The minimum number of applications to be "successful".
max  Int32
The maximum number of applications to be applied.
parameters  Object
An array of parameters (nodes, edges, values) of the types specified by RulePattern.Inputs. The array must contain at least RulePattern.Inputs.Length elements.

Return Value

Boolean
True, if the rule was applied at least min times.
See Also