Jess, the Rule Engine for the Java Platform
Copyright (C) 2006 Sandia Corporation
Jess Version 7.0 11/1/2006

Jess>
(deffacts color-pairs
   (color-pair red cyan)
   (color-pair cyan red))
TRUE
Jess>
(defrule multi-color-type-1
   (color-pair ?c1 ?c2)
   (color-pair ~?c1 ~?c1)
   =>
   (printout t "Why is this rule activated?" crlf))
TRUE
Jess> (reset)
TRUE
Jess> (run)
Why is this rule activated?
Why is this rule activated?
2
Jess>
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to