 | IActionApplyMinMax Method (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 (needed for visual debugging).
Namespace:
de.unika.ipd.grGen.libGr
Assembly:
libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntaxbool ApplyMinMax(
IActionExecutionEnvironment actionEnv,
int min,
int max
)
Parameters
- actionEnv
- Type: de.unika.ipd.grGen.libGrIActionExecutionEnvironment
The action execution environment, esp. giving access to the host graph. - min
- Type: SystemInt32
The minimum number of applications to be "successful". - max
- Type: SystemInt32
The maximum number of applications to be applied.
Return Value
Type:
BooleanTrue, if the rule was applied at least min times.
See Also