(defrule example-2 (defrule example-3
(x) (x)
(y) (y)
(z) => )
=>)
For Efficiency:
- Put the most specific patterns (those that will match the fewest facts) near the top of each rule's LHS.
- Put the most transient patterns (those that will match facts that are frequently retracted and asserted) near the bottom of a LHS.
[JessWorkings | JessAndAgents | JessLanguage]
(last edited November 3, 1999)
Find Page by browsing or searching