next up previous

5.4.9 Automatic Addition and Reordering of LHS CEs

Under certain circumstances, CLIPS adds additional pattern CEs to rules (usually for the benefit of the patternmatching algorithm used by CLIPS). There are two default patterns used by CLIPS: the initialfact fact pattern and the initialobject instance pattern. The initialfact pattern is

(initial-fact)

and the initialobject pattern is

(object (is-a INITIAL-OBJECT) (name [initial-object]))

5.4.9.1 Rules Without Any LHS Pattern CEs

5.4.9.2 Test and Not CEs as the First CE of an And CE

5.4.9.3 Test CEs Following Not CEs

5.4.9.4 Or CEs Following Not CEs

5.4.9.5 Notes About Pattern Addition and Reordering



next up previous