Click or drag to resize

IActionApplyMinMax(IActionExecutionEnvironment, Int32, Int32) Method

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 (needed for visual debugging).

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
)

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.

Return Value

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