Instance Property

executed

The list of rules whose actions have been performed during evaluation of the system.

Declaration

@property(nonatomic, retain, readonly) NSArray<GKRule *> *executed;

Discussion

When you call the evaluate method, the system considers each rule in the agenda list in order. If a rule on the agenda is satisfied—that is, its predicate returns YES and it executes its action—the system moves that rule to the executed list.

See Also

Evaluating a Rule System

- evaluate

Evaluates the rule system, executing the list of rules in its agenda.

agenda

The list of rules to be considered when evaluating the system.

- reset

Returns the rule system to its original agenda and clears all facts.