next up previous

13.7.9 Setting the Salience Evaluation Behavior

This function sets the salience evaluation behavior. By default, salience values are only evaluated when a rule is defined.

Syntax

(set-salience-evaluation <value>)

where <value> is either when-defined, when-activated, or every-cycle. The return value for this function is the old value for salience evaluation. The value when-defined forces salience evaluation at the time of rule definition. The value when-activation forces salience evaluation at the time of rule definition and upon being activated. The value everycycle forces evaluation at the time of rule definition, upon being activated, and after every rule firing.


next up previous