next up previous

13.6.10 Getting the Incremental Reset Behavior

This function returns the current value of the incremental reset behavior (TRUE or FALSE).

Syntax

(get-incremental-reset)

13.6.11 Determining the Logical Dependencies of a Pattern Entity

The dependencies function lists the partial matches from which a pattern entity receives logical support. This function has no return value.

Syntax

(dependencies <fact-or-instance-specifier>)

The term <fact-or-instance-specifier> includes variables bound on the LHS to fact-addresses or instance-addresses as described in section 5.4.1.8, the fact-index of the desired fact (e.g. 3 for the fact labeled f3), or the instance-name (e.g. [object]).

Example

(defrule list-dependencies
   ?f <- ($?)
   =>
   (dependencies ?f))

13.6.12 Determining the Logical Dependents of a Pattern Entity

The dependents function lists all pattern entities which receive logical support from a pattern entity. This function has no return value.

Syntax

(dependents <fact-or-instance-specifier>)

The term <fact-or-instance-specifier> includes variables bound on the LHS to fact-addresses or instance-addresses as described in section 5.4.1.8, the fact-index of the desired fact (e.g. 3 for the fact labeled f3), or the instance-name (e.g. [object]).

Example

(defrule list-dependents
   ?f <- ($?)
   =>
   (dependents ?f))


next up previous