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 execute the rules in that rule task. You can apply one of the following execution modes to rule tasks:
The RetePlus mode: the value of the algorithm property is then default because RetePlus was the default execution mode in versions earlier than Operational Decision Manager V8.6.
The sequential mode: the value of the algorithm property is then sequential.
The Fastpath mode: Fastpath is the default algorithm. To use it, you must set the algorithm property to sequential and the custom property ilog.rules.engine.sequential.fastpath to true. For example:
ruletask R1 { property ilog.rules.engine.sequential.fastpath = true; algorithm = sequential; };