algorithm
The
algorithm keyword defines an execution
mode.
Purpose
This key is used to define an execution mode for a rule task, either RetePlus, sequential, or Fastpath.
Context
Rule task definitions
Syntax
ruletask ruleTaskName
{
algorithm = default|sequential;
};
Description
The value that follows the algorithm keyword indicates which execution mode is
used to run the rules in that rule task. You can apply one of the following execution modes to rule
tasks:
The RetePlus mode:
defaultThe sequential mode:
sequentialThe Fastpath mode: Set the
algorithmproperty tosequentialand the custom propertyilog.rules.engine.sequential.fastpathtotrue. For example:ruletask R1 { property ilog.rules.engine.sequential.fastpath = true; algorithm = sequential; };