Data accessibility
In general:
In sequential mode, preferably use direct data connection with
fromorinkeywords plus ruleset parameters or variables.In RetePlus and Fastpath modes, favor evaluation in the working memory.
The following table summarizes the effect on data accessibility of changing from one execution mode to another.
| From Mode1 to Mode2 | Effect on data accessibility |
|---|---|
| RetePlus -> Sequential | Sequential mode has limitations compared to RetePlus. When the rules are connected to the data via working memory, executing traces is different in RetePlus/Fastpath and sequential.
When the rules are connected to the data via |
| RetePlus -> Fastpath | Fastpath is a sequential-type algorithm, with static priorities
and no support for update. However, the change to
Fastpath should not affect the executing trace. |
| Fastpath -> Sequential | Fastpath has fewer rule condition limitations than the sequential mode. The executing trace of Fastpath is the same as RetePlus. When rules are connected to the data via working memory, there is the following difference:
|
| Fastpath -> RetePlus | No effect. |
| Sequential -> RetePlus | Only the executing trace differs, as described above for RetePlus to Sequential. |
| Sequential -> Fastpath | Only the executing trace differs, as described above for RetePlus to Sequential. |