Instance Property


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


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


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.


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

- reset

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